package com.xkl.domain; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * 用户数据的domain类 */ @Entity @Table(name = "xkl_admin") public class XklAdminEntity { //用户id @Id @Column(name = "id") private long id; //账号 @Column(name = "account") private String account; //密码 @Column(name = "pwd") private String pwd; //账号类型 @Column(name = "type") private int type; //公司id @Column(name = "coid") private int coid; //salt @Column(name = "salt") private String salt; //备注 @Column(name = "note") private String note; //状态 @Column(name = "status") private int status; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getAccount() { return account; } public void setAccount(String account) { this.account = account; } public String getPwd() { return pwd; } public void setPwd(String pwd) { this.pwd = pwd; } public int getType() { return type; } public void setType(int type) { this.type = type; } public int getCoid() { return coid; } public void setCoid(int coid) { this.coid = coid; } public String getSalt() { return salt; } public void setSalt(String salt) { this.salt = salt; } public String getNote() { return note; } public void setNote(String note) { this.note = note; } public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } }