/** * @Title: Users.java * @Package org.entity * @Description: TODO该方法的主要作用: * @author A18ccms A18ccms_gmail_com * @date 2017-10-5 下午6:53:06 * @version V1.0 */ package org.entity; import java.util.Date; /** * * 项目名称:ssm_chop1 * 类名称:Users * 类描述: 用户表的实体类 * 创建人:Mu Xiongxiong * 创建时间:2017-10-5 下午6:53:06 * 修改人:Mu Xiongxiong * 修改时间:2017-10-5 下午6:53:06 * 修改备注: * @version * */ public class Users { private Integer id; //用户编号 private String userCode; //用户编码 private String userName; //用户名 private String userPassword; //密码 private String gender; //性别 private Date birthday; //生日 private String phone; //电话 private String address; //地址 private Integer userrole; //用户角色 private Integer createBy; //创建者 private Date creationDate; //创建时间 private Integer modifyBy; //更新者 private Date modifyDate; //更新时间 private Role role; //用户角色的对象 public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getUserCode() { return userCode; } public void setUserCode(String userCode) { this.userCode = userCode; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getUserPassword() { return userPassword; } public void setUserPassword(String userPassword) { this.userPassword = userPassword; } public String getGender() { return gender; } public void setGender(String gender) { this.gender = gender; } public Date getBirthday() { return birthday; } public void setBirthday(Date birthday) { this.birthday = birthday; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public Integer getUserrole() { return userrole; } public void setUserrole(Integer userrole) { this.userrole = userrole; } public Integer getCreateBy() { return createBy; } public void setCreateBy(Integer createBy) { this.createBy = createBy; } public Date getCreationDate() { return creationDate; } public void setCreationDate(Date creationDate) { this.creationDate = creationDate; } public Integer getModifyBy() { return modifyBy; } public void setModifyBy(Integer modifyBy) { this.modifyBy = modifyBy; } public Date getModifyDate() { return modifyDate; } public void setModifyDate(Date modifyDate) { this.modifyDate = modifyDate; } public Users(Integer id, String userCode, String userName, String userPassword, String gender, Date birthday, String phone, String address, Integer userrole, Integer createBy, Date creationDate, Integer modifyBy, Date modifyDate) { super(); this.id = id; this.userCode = userCode; this.userName = userName; this.userPassword = userPassword; this.gender = gender; this.birthday = birthday; this.phone = phone; this.address = address; this.userrole = userrole; this.createBy = createBy; this.creationDate = creationDate; this.modifyBy = modifyBy; this.modifyDate = modifyDate; } public Users() { super(); } public Role getRole() { return role; } public void setRole(Role role) { this.role = role; } }