package com.qxueyou.scc.exercise.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; import com.qxueyou.scc.base.model.ITrace; /** * The persistent class for the exercise_recent_record database table. * */ @Entity @Table(name="exercise_recent_record") @NamedQuery(name="ExerciseRecentRecord.findAll", query="SELECT e FROM ExerciseRecentRecord e") public class ExerciseRecentRecord implements Serializable,ITrace { private static final long serialVersionUID = 1L; @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="RECENT_RECORD_ID", unique=true, nullable=false, length=32) private String recentRecordId; @Column(name="EXERCISE_RECORD_ID", length=32) private String exerciseRecordId; @Column(name="EXERCISE_GROUP_ID", length=32) private String exerciseGroupId; @Column(name="USER_ID", length=32) private String userId; @Column(name="SUBJECT_ID", length=32) private String subjectId; @Column(name="CLASS_ID", length=32) private String classId; @Column(name="COLLEGE_COURSE_ID", length=32) private String collegeCourseId; @Column(name="ORG_ID", length=32) private String orgId; @Column(name="CREATE_ID", nullable=false, length=32) @JsonIgnore 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) @JsonIgnore private String creator; @Column(name="DELETE_FLAG", nullable=false) @JsonIgnore private boolean deleteFlag; @Column(name="UPDATE_ID", length=32) @JsonIgnore 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) @JsonIgnore private String updator; public ExerciseRecentRecord() { } public String getRecentRecordId() { return recentRecordId; } public void setRecentRecordId(String recentRecordId) { this.recentRecordId = recentRecordId; } public String getExerciseRecordId() { return exerciseRecordId; } public void setExerciseRecordId(String exerciseRecordId) { this.exerciseRecordId = exerciseRecordId; } public String getExerciseGroupId() { return exerciseGroupId; } public void setExerciseGroupId(String exerciseGroupId) { this.exerciseGroupId = exerciseGroupId; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getCreateId() { return createId; } public void setCreateId(String createId) { this.createId = createId; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreator() { return creator; } public void setCreator(String creator) { this.creator = creator; } public boolean getDeleteFlag() { return deleteFlag; } public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } public String getUpdateId() { return updateId; } public void setUpdateId(String updateId) { this.updateId = updateId; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdator() { return updator; } public void setUpdator(String updator) { this.updator = updator; } public String getSubjectId() { return subjectId; } public void setSubjectId(String subjectId) { this.subjectId = subjectId; } public String getClassId() { return classId; } public void setClassId(String classId) { this.classId = classId; } public String getCollegeCourseId() { return collegeCourseId; } public void setCollegeCourseId(String collegeCourseId) { this.collegeCourseId = collegeCourseId; } public String getOrgId() { return orgId; } public void setOrgId(String orgId) { this.orgId = orgId; } }