package com.qxueyou.scc.operation.topic.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;
|
|
/**
|
* 话题班级中间表
|
*
|
* @author chenjunliang
|
*
|
*/
|
@Entity
|
@Table(name = "topic_class_re")
|
@NamedQuery(name = "TopicClassRe.findAll", query = "SELECT t FROM TopicClassRe t")
|
public class TopicClassRe implements Serializable, ITrace {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name = "TOPIC_CLASS_RE_ID", unique = true, nullable = false, length = 32)
|
private String TopicClassReId;
|
|
@Column(name = "CLASS_ID")
|
private String classId;
|
|
@Column(name = "TOPIC_ID")
|
private String topicId;
|
|
@Column(name = "CREATE_ID", length = 32)
|
private String createId;
|
|
@Column(name = "CREATOR", nullable = false, length = 100)
|
private String creator;
|
|
@Column(name = "CREATE_TIME", nullable = false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/** 修改人ID */
|
@Column(name = "UPDATE_ID", length = 32)
|
private String updateId;
|
|
/** 修改时间 */
|
@Column(name = "UPDATE_TIME", nullable = false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
/** 修改人 */
|
@Column(name = "UPDATOR", length = 100)
|
private String updator;
|
|
/** 删除标志 */
|
@Column(name = "DELETE_FLAG", nullable = false)
|
@JsonIgnore
|
private boolean deleteFlag;
|
|
public String getTopicClassReId() {
|
return TopicClassReId;
|
}
|
|
public void setTopicClassReId(String topicClassReId) {
|
TopicClassReId = topicClassReId;
|
}
|
|
public String getClassId() {
|
return classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
public String getTopicId() {
|
return topicId;
|
}
|
|
public void setTopicId(String topicId) {
|
this.topicId = topicId;
|
}
|
|
public String getCreateId() {
|
return createId;
|
}
|
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
public String getCreator() {
|
return creator;
|
}
|
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
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 boolean isDeleteFlag() {
|
return deleteFlag;
|
}
|
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
public boolean getDeleteFlag() {
|
return deleteFlag;
|
}
|
|
}
|