package com.qm.smm.entity; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * 用户实体 * @author quanmin * */ @Entity public class User{ @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private Integer id; private String name; private String pwd; public User() {} public User(String name, String pwd) { this.name = name; this.pwd = pwd; } public User(Integer id, String name, String pwd) { super(); this.id = id; this.name = name; this.pwd = pwd; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPwd() { return pwd; } public void setPwd(String pwd) { this.pwd = pwd; } @Override public String toString() { return "User [id=" + id + ", name=" + name + ", pwd=" + pwd + "]"; } }
最近下载更多
最近浏览更多
2578233069
前天
暂无贡献等级
yolo_light LV1
2023年12月21日
wwwww816 LV3
2023年12月19日
zhumeng168 LV5
2023年7月8日
gecongkai LV8
2023年6月22日
神经蛙-
2023年5月17日
暂无贡献等级
微信网友_6442588254851072 LV2
2023年4月22日
李亮 LV19
2023年3月6日
云龙123456 LV7
2023年2月21日
qwer123978ca LV1
2022年12月19日