SysUser.java
3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
package com.skua.modules.equipment.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@Data
@TableName("sys_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "sys_user", description = "人员信息")
public class SysUser implements Serializable {
private static final long serialVersionUID = 1L;
/**
* id
*/
@TableId(type = IdType.UUID)
private String id;
/**
* 登录账号
*/
@Excel(name = "登录账号", width = 15)
private String username;
/**
* 真实姓名
*/
@Excel(name = "真实姓名", width = 15)
private String realname;
/**
* 密码
*/
private String password;
/**
* md5密码盐
*/
private String salt;
/**
* 头像
*/
@Excel(name = "头像", width = 15)
private String avatar;
/**
* 生日
*/
@Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date birthday;
/**
* 性别(1:男 2:女)
*/
@Excel(name = "性别", width = 15, dicCode = "sex")
@Dict(dicCode = "sex")
private Integer sex;
/**
* 电子邮件
*/
@Excel(name = "电子邮件", width = 15)
private String email;
@Excel(name = "岗位", width = 15)
private String operatingPost;
/**
* 电话
*/
@Excel(name = "电话", width = 15)
private String phone;
/**
* 职位
*/
@Excel(name = "职位", width = 15)
private String positions;
/**
* 部门code
*/
private String orgCode;
/**
* 状态(1:正常 2:冻结 )
*/
@Excel(name = "状态", width = 15, dicCode = "user_status")
@Dict(dicCode = "user_status")
private Integer status;
/**
* 是否加入绩效体检(y:加入 n:不加入 )
*/
@Dict(dicCode = "isCheckup")
private String isCheckup;
/**
* 删除状态(0,正常,1已删除)
*/
@Excel(name = "删除状态", width = 15, dicCode = "del_flag")
@TableLogic
private String delFlag;
/**
* 创建人
*/
private String createBy;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新人
*/
private String updateBy;
/**
* 更新时间
*/
private Date updateTime;
/**
* 同步工作流引擎1同步0不同步
*/
private String activitiSync;
/**
* 角色
*/
@Excel(name = "角色", width = 15)
@TableField(exist = false)
private String roleName;
/**
* is_system_user
*/
@Excel(name = "is_system_user", width = 15)
private String isSystemUser;
/**
* 机构
*/
@Excel(name = "机构", width = 15)
@TableField(exist = false)
private String departName;
@TableField(exist = false)
private String[] factoryIds;
@TableField(exist = false)
private String areaId;
@TableField(exist = false)
private String factoryId;
@TableField(exist = false)
private String roleId;
private String cid;
}