MCPcopy Create free account
hub / github.com/bsxj97/flower-mall / UserEntity

Class UserEntity

src/main/java/com/entity/UserEntity.java:13–77  ·  view source on GitHub ↗

用户

Source from the content-addressed store, hash-verified

11 * 用户
12 */
13@TableName("users")
14public class UserEntity implements Serializable {
15 private static final long serialVersionUID = 1L;
16
17 @TableId(type = IdType.AUTO)
18 private Long id;
19
20 /**
21 * 用户账号
22 */
23 private String username;
24
25 /**
26 * 密码
27 */
28 private String password;
29
30 /**
31 * 用户类型
32 */
33 private String role;
34
35 private Date addtime;
36
37 public String getUsername() {
38 return username;
39 }
40
41 public void setUsername(String username) {
42 this.username = username;
43 }
44
45 public String getPassword() {
46 return password;
47 }
48
49 public void setPassword(String password) {
50 this.password = password;
51 }
52
53 public String getRole() {
54 return role;
55 }
56
57 public void setRole(String role) {
58 this.role = role;
59 }
60
61 public Date getAddtime() {
62 return addtime;
63 }
64
65 public void setAddtime(Date addtime) {
66 this.addtime = addtime;
67 }
68
69 public Long getId() {
70 return id;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected