package com.qxueyou.scc.school.model;
|
|
import java.io.Serializable;
|
|
import javax.persistence.*;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import java.util.Date;
|
|
|
/**
|
* ¿Îʱ¡¢¿Î³Ì¹ØÏµ±í ʵÌå
|
* @author ody.yuan
|
*
|
*/
|
@Entity
|
@Table(name="sch_re_lesson_period")
|
@NamedQuery(name="SchReLessonPeriod.findAll", query="SELECT s FROM SchReLessonPeriod s")
|
public class SchReLessonPeriod implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/** Ö÷¼ü */
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="RE_LESSON_PERIOD_ID", unique=true, nullable=false, length=32)
|
private String reLessonPeriodId;
|
|
/** ´´½¨ÕßID */
|
@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;
|
|
/** ¿Î³ÌID */
|
@Column(name="LESSON_ID", length=32)
|
private String lessonId;
|
|
/** ¿ÎʱID */
|
@Column(name="LESSON_PERIOD_ID", length=32)
|
private String lessonPeriodId;
|
|
/** ÐÞ¸ÄÈËID */
|
@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 SchReLessonPeriod() {
|
}
|
|
public String getReLessonPeriodId() {
|
return this.reLessonPeriodId;
|
}
|
|
public void setReLessonPeriodId(String reLessonPeriodId) {
|
this.reLessonPeriodId = reLessonPeriodId;
|
}
|
|
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 String getLessonId() {
|
return this.lessonId;
|
}
|
|
public void setLessonId(String lessonId) {
|
this.lessonId = lessonId;
|
}
|
|
public String getLessonPeriodId() {
|
return this.lessonPeriodId;
|
}
|
|
public void setLessonPeriodId(String lessonPeriodId) {
|
this.lessonPeriodId = lessonPeriodId;
|
}
|
|
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;
|
}
|
|
}
|