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;
|
|
|
/**
|
* The persistent class for the sch_lesson_period database table.
|
*
|
*/
|
@Entity
|
@Table(name="sch_lesson_period")
|
@NamedQuery(name="SchLessonPeriod.findAll", query="SELECT s FROM SchLessonPeriod s")
|
public class SchLessonPeriod implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="LESSON_PERIOD_ID", unique=true, nullable=false, length=32)
|
private String lessonPeriodId;
|
|
@Column(name="CLASS_ID", length=32)
|
private String classId;
|
|
@Column(name="COURSE_ID", length=32)
|
private String courseId;
|
|
@Column(name="ADDRESS", length=255)
|
private String address;
|
|
@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="END_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date endTime;
|
|
@Column(name="START_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date startTime;
|
|
@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 SchLessonPeriod() {
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public String getLessonPeriodId() {
|
return this.lessonPeriodId;
|
}
|
|
public void setLessonPeriodId(String lessonPeriodId) {
|
this.lessonPeriodId = lessonPeriodId;
|
}
|
|
public String getClassId() {
|
return this.classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
public String getCourseId() {
|
return this.courseId;
|
}
|
|
public void setCourseId(String courseId) {
|
this.courseId = courseId;
|
}
|
|
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 Date getEndTime() {
|
return this.endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Date getStartTime() {
|
return this.startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
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;
|
}
|
|
}
|