package com.qxueyou.scc.admin.classes.model; // Generated 2018-3-18 10:42:29 by Hibernate Tools 5.2.8.Final import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import org.hibernate.annotations.GenericGenerator; import org.springframework.format.annotation.DateTimeFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.qxueyou.scc.base.model.ITrace; /** * SchClassReSubject generated by hbm2java */ @Entity @Table(name = "cls_class_re_subject") public class ClsClassReSubject implements java.io.Serializable,ITrace { private static final long serialVersionUID = -1141272377219425657L; private String clsReSubjectId; private String classId; private String subjectId; private Date createTime; private Date updateTime; private String creator; private String createId; private String updator; private String updateId; private boolean deleteFlag; public ClsClassReSubject() { } public ClsClassReSubject(String shcClassReSubjectId, String classId, String schClassSubjectId, Date createTimne, String creator, String createId, boolean deleteFlag) { this.clsReSubjectId = shcClassReSubjectId; this.classId = classId; this.subjectId = schClassSubjectId; this.createTime = createTimne; this.creator = creator; this.createId = createId; this.deleteFlag = deleteFlag; } public ClsClassReSubject(String shcClassReSubjectId, String classId, String schClassSubjectId, Date createTimne, Date updateTime, String creator, String createId, String updator, String updateId, boolean deleteFlag) { this.clsReSubjectId = shcClassReSubjectId; this.classId = classId; this.subjectId = schClassSubjectId; this.createTime = createTimne; this.updateTime = updateTime; this.creator = creator; this.createId = createId; this.updator = updator; this.updateId = updateId; this.deleteFlag = deleteFlag; } @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name = "CLS_RE_SUBJECT_ID", unique = true, nullable = false, length = 32) public String getClsReSubjectId() { return this.clsReSubjectId; } public void setClsReSubjectId(String clsReSubjectId) { this.clsReSubjectId = clsReSubjectId; } @Column(name = "CLASS_ID", nullable = false, length = 32) public String getClassId() { return this.classId; } public void setClassId(String classId) { this.classId = classId; } @Column(name = "SUBJECT_ID", nullable = false, length = 32) public String getSubjectId() { return this.subjectId; } public void setSubjectId(String subjectId) { this.subjectId = subjectId; } @Column(name = "CREATE_TIME", nullable = false, length = 19) @Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore public Date getCreateTime() { return this.createTime; } public void setCreateTime(Date createTimne) { this.createTime = createTimne; } @Column(name = "UPDATE_TIME", length = 19) @Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore public Date getUpdateTime() { return this.updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } @Column(name = "CREATOR", nullable = false, length = 100) public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } @Column(name = "CREATE_ID", nullable = false, length = 32) public String getCreateId() { return this.createId; } public void setCreateId(String createId) { this.createId = createId; } @Column(name = "UPDATOR", length = 100) public String getUpdator() { return this.updator; } public void setUpdator(String updator) { this.updator = updator; } @Column(name = "UPDATE_ID", length = 32) public String getUpdateId() { return this.updateId; } public void setUpdateId(String updateId) { this.updateId = updateId; } @Column(name = "DELETE_FLAG", nullable = false) public boolean getDeleteFlag() { return this.deleteFlag; } public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } }