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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
package pwc.taxtech.atms.entity;
import java.io.Serializable;
import java.util.Date;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table user
*
* @mbg.generated do_not_delete_during_merge
*/
public class User extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.id
*
* @mbg.generated
*/
private String id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.user_name
*
* @mbg.generated
*/
private String userName;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.email
*
* @mbg.generated
*/
private String email;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.password
*
* @mbg.generated
*/
private String password;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.login_type
*
* @mbg.generated
*/
private Integer loginType;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.status
*
* @mbg.generated
*/
private Integer status;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.expiration_date
*
* @mbg.generated
*/
private Date expirationDate;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.create_time
*
* @mbg.generated
*/
private Date createTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.update_time
*
* @mbg.generated
*/
private Date updateTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.is_admin
*
* @mbg.generated
*/
private Boolean isAdmin;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.password_update_time
*
* @mbg.generated
*/
private Date passwordUpdateTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.attempt_times
*
* @mbg.generated
*/
private Integer attemptTimes;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.locked_time
*
* @mbg.generated
*/
private Date lockedTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.organization_id
*
* @mbg.generated
*/
private String organizationId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user.is_super_admin
*
* @mbg.generated
*/
private Boolean isSuperAdmin;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table user
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.id
*
* @return the value of user.id
*
* @mbg.generated
*/
public String getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.id
*
* @param id the value for user.id
*
* @mbg.generated
*/
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.user_name
*
* @return the value of user.user_name
*
* @mbg.generated
*/
public String getUserName() {
return userName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.user_name
*
* @param userName the value for user.user_name
*
* @mbg.generated
*/
public void setUserName(String userName) {
this.userName = userName == null ? null : userName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.email
*
* @return the value of user.email
*
* @mbg.generated
*/
public String getEmail() {
return email;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.email
*
* @param email the value for user.email
*
* @mbg.generated
*/
public void setEmail(String email) {
this.email = email == null ? null : email.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.password
*
* @return the value of user.password
*
* @mbg.generated
*/
public String getPassword() {
return password;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.password
*
* @param password the value for user.password
*
* @mbg.generated
*/
public void setPassword(String password) {
this.password = password == null ? null : password.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.login_type
*
* @return the value of user.login_type
*
* @mbg.generated
*/
public Integer getLoginType() {
return loginType;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.login_type
*
* @param loginType the value for user.login_type
*
* @mbg.generated
*/
public void setLoginType(Integer loginType) {
this.loginType = loginType;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.status
*
* @return the value of user.status
*
* @mbg.generated
*/
public Integer getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.status
*
* @param status the value for user.status
*
* @mbg.generated
*/
public void setStatus(Integer status) {
this.status = status;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.expiration_date
*
* @return the value of user.expiration_date
*
* @mbg.generated
*/
public Date getExpirationDate() {
return expirationDate;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.expiration_date
*
* @param expirationDate the value for user.expiration_date
*
* @mbg.generated
*/
public void setExpirationDate(Date expirationDate) {
this.expirationDate = expirationDate;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.create_time
*
* @return the value of user.create_time
*
* @mbg.generated
*/
public Date getCreateTime() {
return createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.create_time
*
* @param createTime the value for user.create_time
*
* @mbg.generated
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.update_time
*
* @return the value of user.update_time
*
* @mbg.generated
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.update_time
*
* @param updateTime the value for user.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.is_admin
*
* @return the value of user.is_admin
*
* @mbg.generated
*/
public Boolean getIsAdmin() {
return isAdmin;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.is_admin
*
* @param isAdmin the value for user.is_admin
*
* @mbg.generated
*/
public void setIsAdmin(Boolean isAdmin) {
this.isAdmin = isAdmin;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.password_update_time
*
* @return the value of user.password_update_time
*
* @mbg.generated
*/
public Date getPasswordUpdateTime() {
return passwordUpdateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.password_update_time
*
* @param passwordUpdateTime the value for user.password_update_time
*
* @mbg.generated
*/
public void setPasswordUpdateTime(Date passwordUpdateTime) {
this.passwordUpdateTime = passwordUpdateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.attempt_times
*
* @return the value of user.attempt_times
*
* @mbg.generated
*/
public Integer getAttemptTimes() {
return attemptTimes;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.attempt_times
*
* @param attemptTimes the value for user.attempt_times
*
* @mbg.generated
*/
public void setAttemptTimes(Integer attemptTimes) {
this.attemptTimes = attemptTimes;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.locked_time
*
* @return the value of user.locked_time
*
* @mbg.generated
*/
public Date getLockedTime() {
return lockedTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.locked_time
*
* @param lockedTime the value for user.locked_time
*
* @mbg.generated
*/
public void setLockedTime(Date lockedTime) {
this.lockedTime = lockedTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.organization_id
*
* @return the value of user.organization_id
*
* @mbg.generated
*/
public String getOrganizationId() {
return organizationId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.organization_id
*
* @param organizationId the value for user.organization_id
*
* @mbg.generated
*/
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId == null ? null : organizationId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user.is_super_admin
*
* @return the value of user.is_super_admin
*
* @mbg.generated
*/
public Boolean getIsSuperAdmin() {
return isSuperAdmin;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user.is_super_admin
*
* @param isSuperAdmin the value for user.is_super_admin
*
* @mbg.generated
*/
public void setIsSuperAdmin(Boolean isSuperAdmin) {
this.isSuperAdmin = isSuperAdmin;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table user
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", userName=").append(userName);
sb.append(", email=").append(email);
sb.append(", password=").append(password);
sb.append(", loginType=").append(loginType);
sb.append(", status=").append(status);
sb.append(", expirationDate=").append(expirationDate);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isAdmin=").append(isAdmin);
sb.append(", passwordUpdateTime=").append(passwordUpdateTime);
sb.append(", attemptTimes=").append(attemptTimes);
sb.append(", lockedTime=").append(lockedTime);
sb.append(", organizationId=").append(organizationId);
sb.append(", isSuperAdmin=").append(isSuperAdmin);
sb.append("]");
return sb.toString();
}
}