cn.sylinx.hbatis.ext.model.BaseModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-core Show documentation
Show all versions of hbatis-core Show documentation
hbatis is a simple orm framework
package cn.sylinx.hbatis.ext.model;
import java.util.Date;
import cn.sylinx.hbatis.db.mapper.anno.ColumnDesc;
/**
* basemodel
*
* @author hanqz
*
*/
public class BaseModel extends GenericModel {
/**
* 创建时间
*/
@ColumnDesc(desc = "创建时间")
private Date gmtCreate;
/**
* 修改时间
*/
@ColumnDesc(desc = "修改时间")
private Date gmtModify;
public Date getGmtCreate() {
return gmtCreate;
}
public void setGmtCreate(Date gmtCreate) {
this.gmtCreate = gmtCreate;
}
public Date getGmtModify() {
return gmtModify;
}
public void setGmtModify(Date gmtModify) {
this.gmtModify = gmtModify;
}
}