package com.qxueyou.scc.teach.live.model;
|
// Generated 2018-8-28 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;
|
|
/**
|
* MediaVideoLiveReClass generated by hbm2java
|
*/
|
@Entity
|
@Table(name = "MEDIA_VIDEO_LIVE_RE_CLASS")
|
public class MediaVideoLiveReClass implements java.io.Serializable,ITrace {
|
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1584952679485218134L;
|
private String liveReClassId;
|
private String classId;
|
private String liveId;
|
private Date createTime;
|
private Date updateTime;
|
private String creator;
|
private String createId;
|
private String updator;
|
private String updateId;
|
private boolean deleteFlag;
|
|
public MediaVideoLiveReClass() {
|
}
|
|
public MediaVideoLiveReClass(String liveReClassId, String classId, String liveId, Date createTimne,
|
String creator, String createId, boolean deleteFlag) {
|
this.liveReClassId = liveReClassId;
|
this.classId = classId;
|
this.liveId = liveId;
|
this.createTime = createTimne;
|
this.creator = creator;
|
this.createId = createId;
|
this.deleteFlag = deleteFlag;
|
}
|
|
public MediaVideoLiveReClass(String liveReClassId, String classId, String liveId, Date createTimne,
|
Date updateTime, String creator, String createId, String updator, String updateId, boolean deleteFlag) {
|
this.liveReClassId = liveReClassId;
|
this.classId = classId;
|
this.liveId = liveId;
|
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 = "LIVE_RE_CLASS_ID", unique = true, nullable = false, length = 32)
|
public String getLiveReClassId() {
|
return this.liveReClassId;
|
}
|
|
public void setLiveReClassId(String liveReClassId) {
|
this.liveReClassId = liveReClassId;
|
}
|
|
@Column(name = "CLASS_ID", nullable = false, length = 32)
|
public String getClassId() {
|
return this.classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
@Column(name = "LIVE_ID", nullable = false, length = 32)
|
public String getLiveId() {
|
return this.liveId;
|
}
|
|
public void setLiveId(String liveId) {
|
this.liveId = liveId;
|
}
|
|
@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;
|
}
|
|
}
|