mybatis简单案例源码详细【注释全面】——实体层(Role.java)

package org.entity;

import java.util.Date;
/**
 * 
*    
* 项目名称:ssm_chop2   
* 类名称:Role   
* 类描述:   角色表的实体类
* 创建人:Mu Xiongxiong  
* 创建时间:2017-10-7 上午10:01:31   
* 修改人:Mu Xiongxiong   
* 修改时间:2017-10-7 上午10:01:31   
* 修改备注:   
* @version    
*
 */
public class Role {
	
	private Integer id;   //id
	private String roleCode; //角色编码
	private String roleName; //角色名称
	private Integer createdBy; //创建者
	private Date creationDate; //创建时间
	private Integer modifyBy; //更新者
	private Date modifyDate;//更新时间
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public Integer getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}
	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;
	}
	
}

posted @ 2017-10-09 09:44  穆雄雄  阅读(117)  评论(0编辑  收藏  举报