|
|
@@ -2,6 +2,8 @@ package com.github.zuihou.business.classSchedule.entity;
|
|
|
|
|
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
|
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
|
|
+
|
|
|
+import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
|
|
|
import static com.github.zuihou.common.constant.InjectionFieldConstants.ORG_ID_CLASS;
|
|
|
import static com.github.zuihou.common.constant.InjectionFieldConstants.STATION_ID_CLASS;
|
|
|
import com.github.zuihou.injection.annonation.InjectionField;
|
|
|
@@ -130,7 +132,16 @@ public class AuthUser extends Entity<Long> {
|
|
|
private String mobile;
|
|
|
|
|
|
/**
|
|
|
- * 状态
|
|
|
+ * 性别
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "性别")
|
|
|
+ @Length(max = 1, message = "性别长度不能超过1")
|
|
|
+ @TableField(value = "mobile", condition = EQUAL)
|
|
|
+ @Excel(name = "性别")
|
|
|
+ private String sex;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 状态
|
|
|
* 1启用 0禁用
|
|
|
*/
|
|
|
@ApiModelProperty(value = "状态")
|
|
|
@@ -150,7 +161,7 @@ public class AuthUser extends Entity<Long> {
|
|
|
/**
|
|
|
* 民族
|
|
|
* @InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.NATION) RemoteData<String, String>
|
|
|
- *
|
|
|
+ *
|
|
|
*/
|
|
|
@ApiModelProperty(value = "民族")
|
|
|
@Length(max = 20, message = "民族长度不能超过20")
|
|
|
@@ -240,10 +251,10 @@ public class AuthUser extends Entity<Long> {
|
|
|
private String scheduleFlag;
|
|
|
|
|
|
@Builder
|
|
|
- public AuthUser(Long id, Long createUser, LocalDateTime createTime, Long updateUser, LocalDateTime updateTime,
|
|
|
+ public AuthUser(Long id, Long createUser, LocalDateTime createTime, Long updateUser, LocalDateTime updateTime,
|
|
|
String account, String name, Long orgId, RemoteData<Long, String> stationId, Boolean readonly,
|
|
|
String email, String mobile, Boolean status, String avatar, RemoteData<String, String> nation,
|
|
|
- RemoteData<String, String> education, RemoteData<String, String> positionStatus, String workDescribe, LocalDateTime passwordErrorLastTime, Integer passwordErrorNum, LocalDateTime passwordExpireTime,
|
|
|
+ RemoteData<String, String> education, RemoteData<String, String> positionStatus, String workDescribe, LocalDateTime passwordErrorLastTime, Integer passwordErrorNum, LocalDateTime passwordExpireTime,
|
|
|
String password, LocalDateTime lastLoginTime) {
|
|
|
this.id = id;
|
|
|
this.createUser = createUser;
|