-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdminUser.java
More file actions
122 lines (88 loc) · 2.27 KB
/
AdminUser.java
File metadata and controls
122 lines (88 loc) · 2.27 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
package dzdc.core.enity;
import com.viviframework.petapojo.annotations.PrimaryKey;
import com.viviframework.petapojo.annotations.TableName;
import java.util.Date;
/**
* Created by lghyt on 2017/3/29.
*/
@TableName("admin_user")
@PrimaryKey("id")
public class AdminUser {
//id
private int id;
//用户名
private String userName;
//密码
private String password;
private int departmentId;
//是否锁定
private boolean hasLock;
//创建时间
private Date createDate;
private String realName;
//手机号码
private String mobile;
//输入密码错误次数
private int errorCount;
private String googleKey;
public String getGoogleKey() {
return googleKey;
}
public void setGoogleKey(String googleKey) {
this.googleKey = googleKey;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getRealName() {
return realName;
}
public void setRealName(String realName) {
this.realName = realName;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public int getDepartmentId() {
return departmentId;
}
public void setDepartmentId(int departmentId) {
this.departmentId = departmentId;
}
public boolean isHasLock() {
return hasLock;
}
public void setHasLock(boolean hasLock) {
this.hasLock = hasLock;
}
public int getErrorCount() {
return errorCount;
}
public void setErrorCount(int errorCount) {
this.errorCount = errorCount;
}
}