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 + "]"; } }


Ella0902
2024年12月18日
暂无贡献等级
15719908287 LV9
2024年11月17日
气之子dss LV4
2024年6月24日
gougeyishi
2024年6月22日
暂无贡献等级
xin xie LV1
2024年6月13日
ma406805131 LV19
2024年5月11日
2578233069
2024年4月25日
暂无贡献等级
yolo_light LV1
2023年12月21日
wwwww816 LV5
2023年12月19日
zhumeng168 LV5
2023年7月8日