whycrzg
2021-10-22 70bc5d2715057ec06c1aeafedf7349efd0ed164e
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author lxw
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TbUserInf对象", description="")
public class UserInf implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "uId", type = IdType.AUTO)
    private Long uId;
 
    @TableField("uSnId")
    private String uSnId;
 
    @TableField("uName")
    private String uName;
 
    @TableField("uShenFenId")
    private String uShenFenId;
 
    @TableField("uEmployeeId")
    private String uEmployeeId;
 
    @TableField("uTelephone")
    private String uTelephone;
 
    @TableField("uMobilephone")
    private String uMobilephone;
 
    @TableField("uEmail")
    private String uEmail;
 
    @TableField("uAddr")
    private String uAddr;
 
    @TableField("uBirthDay")
    private Date uBirthDay;
 
    @TableField("uAccessionDay")
    private Date uAccessionDay;
 
    @TableField("uSex")
    private String uSex;
 
    @TableField("uDepartment")
    private String uDepartment;
 
    @TableField("uProTitle")
    private String uProTitle;
 
    @TableField("uAuthority")
    private String uAuthority;
 
    @TableField("uJobGroup")
    private String uJobGroup;
 
    @TableField("uDuties")
    private String uDuties;
 
    @TableField("uTasks")
    private String uTasks;
 
    @TableField("uBaojiUsr")
    private int uBaojiUsr;
 
    @TableField("uNote")
    private String uNote;
 
    private String upassword;
 
    @TableField("uPubKeyX")
    private String uPubKeyX;
 
    @TableField("uPubKeyY")
    private String uPubKeyY;
 
    @TableField("uKey_ID")
    private String ukeyId;
 
    private Integer faceId;
 
    private String license;
 
    @ApiModelProperty(value = "登录类型:1-密码,2-人脸")
    private int loginType;
 
    @ApiModelProperty(value = "告警角色:0-管理员,1-维护组长,2-维护组员,10-领导")
    @TableField("uRole")
    /**
     * @see com.whyc.constant.RoleEnum
     */
    private int uRole;
 
    public UserInf() {
    }
 
    public UserInf(Long uId, String uName) {
        this.uId = uId;
        this.uName = uName;
    }
}