mybatis简单案例源码详细【注释全面】——实体层(User.java)
发布日期:2021-05-14 13:09:56 浏览次数:21 分类:精选文章

本文共 3466 字,大约阅读时间需要 11 分钟。

  
/**
* @Title: Users.java
* @Package org.entity
* @Description: ������������������������������������������������������
* @author Mu Xiongxiong
* @date 2017-10-5 ������6:53:06
* @version V1.0
*/
package org.entity;
import java.util.Date;
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; }
}
上一篇:mybatis简单案例源码详细【注释全面】——实体层(Role.java)
下一篇:mybatis简单案例源码详细【注释全面】——前期准备

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2025年04月19日 17时39分04秒