package com.qxueyou.scc.school.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; import org.springframework.format.annotation.DateTimeFormat; import com.fasterxml.jackson.annotation.JsonIgnore; /** * ÅÅÃû°æ±¾±í ʵÌå * @author ody.yuan * */ @Entity @Table(name="sch_rank_ver") @NamedQuery(name="SchRankVer.findAll", query="SELECT s FROM SchRankVer s") public class SchRankVer implements Serializable, com.qxueyou.scc.base.model.ITrace { private static final long serialVersionUID = -2874533009566392430L; /** Ö÷¼ü */ @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="VERSION_ID", unique=true, nullable=false, length=32) private String versionId; /** ´´½¨ÕßID */ @Column(name="CREATE_ID", nullable=false, length=32) private String createId; /** ´´½¨Ê±¼ä */ @Column(name="CREATE_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date createTime; /** ´´½¨ÈË */ @Column(name="CREATOR",nullable=false, length=100) private String creator; /** ɾ³ý±êÖ¾ */ @Column(name="DELETE_FLAG", nullable=false) private boolean deleteFlag; /** ×î½ü°æ±¾ */ @Column(name="LATEST") private boolean latest; /** ÅÅÃûÀàÐÍ */ @Column(name="RANK_TYPE") private String rankType; /** ÅÅÃû·¶Î§ID */ @Column(name="SCOPE_ID", length=32) private String scopeId; /** ÅÅÃû·¶Î§ÀàÐÍ */ @Column(name="SCOPE_TYPE", length=32) private String scopeType; /** ÐÞ¸ÄÈËID */ @Column(name="UPDATE_ID", length=32) private String updateId; /** ÐÞ¸Äʱ¼ä */ @Column(name="UPDATE_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date updateTime; /** ÐÞ¸ÄÈË */ @Column(name="UPDATOR",length=100) private String updator; /** °æ±¾ºÅ */ @Column(name="VERSION") private int version; /** °æ±¾Éú³Éʱ¼ä */ @Column(name="VERSION_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date versionTime; public SchRankVer() { } public String getVersionId() { return this.versionId; } public void setVersionId(String versionId) { this.versionId = versionId; } public String getCreateId() { return this.createId; } public void setCreateId(String createId) { this.createId = createId; } public Date getCreateTime() { return this.createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public boolean getDeleteFlag() { return this.deleteFlag; } public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } public boolean isLatest() { return this.latest; } public void setLatest(boolean latest) { this.latest = latest; } public String getRankType() { return this.rankType; } public void setRankType(String rankType) { this.rankType = rankType; } public String getScopeId() { return this.scopeId; } public void setScopeId(String scopeId) { this.scopeId = scopeId; } public String getScopeType() { return this.scopeType; } public void setScopeType(String scopeType) { this.scopeType = scopeType; } public String getUpdateId() { return this.updateId; } public void setUpdateId(String updateId) { this.updateId = updateId; } public Date getUpdateTime() { return this.updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdator() { return this.updator; } public void setUpdator(String updator) { this.updator = updator; } public int getVersion() { return this.version; } public void setVersion(int version) { this.version = version; } public Date getVersionTime() { return this.versionTime; } public void setVersionTime(Date versionTime) { this.versionTime = versionTime; } }