Repository navigation
Expand file tree
/
Copy pathUserGroup.java
More file actions
161 lines (115 loc) · 2.68 KB
/
Copy pathUserGroup.java
File metadata and controls
161 lines (115 loc) · 2.68 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
package bms.core.model;
import java.util.Date;
public class UserGroup {
private Integer ID;
private Integer userID;
// 被操作的目标用户
private Integer targetUserID;
private Integer groupID;
private Date createTime;
private String createUser;
private Date updateTime;
private String groupName;
private String description;
private String userName;
private int userType;
private String userTypes;
private String email;
private boolean ck;
public boolean isCk() {
if (groupID != null) {
return true;
}
return false;
}
public void setCk(boolean ck) {
this.ck = ck;
}
public String getUserTypes() {
if (this.userType == 0)
return "";
return UserType.getByCode(this.userType).getDesc();
}
public void setUserTypes(String userTypes) {
this.userTypes = userTypes;
}
public int getUserType() {
return userType;
}
public void setUserType(int userType) {
this.userType = userType;
}
private Boolean active = true;
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public Boolean getActive() {
return active;
}
public void setActive(Boolean active) {
this.active = active;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getID() {
return ID;
}
public void setID(Integer ID) {
this.ID = ID;
}
public Integer getUserID() {
return userID;
}
public void setUserID(Integer userID) {
this.userID = userID;
}
public Integer getTargetUserID() {
return targetUserID;
}
public void setTargetUserID(Integer targetUserID) {
this.targetUserID = targetUserID;
}
public Integer getGroupID() {
return groupID;
}
public void setGroupID(Integer groupID) {
this.groupID = groupID;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getCreateUser() {
return createUser;
}
public void setCreateUser(String createUser) {
this.createUser = createUser == null ? null : createUser.trim();
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
}