package com.qxueyou.scc.school.model;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.NamedQuery;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.qxueyou.scc.base.model.ITrace;
|
import com.qxueyou.scc.operation.comment.mode.Comment;
|
import com.qxueyou.scc.user.model.User;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
/**
|
* The persistent class for the sch_class_circle_msg database table.
|
*
|
*/
|
@Entity
|
@Table(name="sch_class_circle_msg")
|
@NamedQuery(name="SchClassCircleMsg.findAll", query="SELECT s FROM SchClassCircleMsg s")
|
public class SchClassCircleMsg implements Serializable,ITrace {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name="msg_id")
|
private String msgId;
|
|
@Column(name="class_circle_id")
|
@JsonIgnore
|
private String classCircleId;
|
|
@Column(name="class_id")
|
@JsonIgnore
|
private String classId;
|
|
@Column(name="comment_count")
|
private Integer commentCount;
|
|
private String content;
|
|
@Column(name="CREATE_ID")
|
private String createId;
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Column(name="CREATE_TIME")
|
private Date createTime;
|
|
private String creator;
|
|
@Column(name="DELETE_FLAG")
|
@JsonIgnore
|
private boolean deleteFlag;
|
|
@Column(name="like_count")
|
private Integer likeCount;
|
|
@Column(name="msg_type")
|
@JsonIgnore
|
private Integer msgType;
|
|
@Column(name="org_id")
|
@JsonIgnore
|
private String orgId;
|
|
private String title;
|
|
@Column(name="UPDATE_ID")
|
@JsonIgnore
|
private String updateId;
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Column(name="UPDATE_TIME")
|
@JsonIgnore
|
private Date updateTime;
|
|
@JsonIgnore
|
private String updator;
|
|
@Column(name="user_id")
|
private String userId;
|
|
@Transient
|
@JsonIgnore
|
private User user;
|
|
@Transient
|
private String name;
|
|
@Transient
|
private String imgPath;
|
|
@Transient
|
private List<SchImg> imgs;
|
|
@Transient
|
private List<SchFile> files;
|
|
@Transient
|
private List<Comment> comments;
|
|
@Transient
|
private boolean myLike;
|
|
@Transient
|
private String imgsJson;
|
|
@Transient
|
private String filesJson;
|
|
public String getImgsJson() {
|
return imgsJson;
|
}
|
|
public void setImgsJson(String imgsJson) {
|
this.imgsJson = imgsJson;
|
}
|
|
public String getFilesJson() {
|
return filesJson;
|
}
|
|
public void setFilesJson(String filesJson) {
|
this.filesJson = filesJson;
|
}
|
|
public boolean getMyLike() {
|
return myLike;
|
}
|
|
public void setMyLike(boolean myLike) {
|
this.myLike = myLike;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getImgPath() {
|
return imgPath;
|
}
|
|
public void setImgPath(String imgPath) {
|
this.imgPath = imgPath;
|
}
|
|
public User getUser() {
|
return user;
|
}
|
|
public void setUser(User user) {
|
this.user = user;
|
}
|
|
public List<SchImg> getImgs() {
|
return imgs;
|
}
|
|
public void setImgs(List<SchImg> imgs) {
|
this.imgs = imgs;
|
}
|
|
public List<SchFile> getFiles() {
|
return files;
|
}
|
|
public void setFiles(List<SchFile> files) {
|
this.files = files;
|
}
|
|
public List<Comment> getComments() {
|
return comments;
|
}
|
|
public void setComments(List<Comment> comments) {
|
this.comments = comments;
|
}
|
|
public String getClassCircleId() {
|
return this.classCircleId;
|
}
|
|
public void setClassCircleId(String classCircleId) {
|
this.classCircleId = classCircleId;
|
}
|
|
public String getClassId() {
|
return this.classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
public Integer getCommentCount() {
|
return this.commentCount;
|
}
|
|
public void setCommentCount(Integer commentCount) {
|
this.commentCount = commentCount;
|
}
|
|
public String getContent() {
|
return this.content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
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 Integer getLikeCount() {
|
return this.likeCount;
|
}
|
|
public void setLikeCount(Integer likeCount) {
|
this.likeCount = likeCount;
|
}
|
|
public String getMsgId() {
|
return this.msgId;
|
}
|
|
public void setMsgId(String msgId) {
|
this.msgId = msgId;
|
}
|
|
public Integer getMsgType() {
|
return this.msgType;
|
}
|
|
public void setMsgType(Integer msgType) {
|
this.msgType = msgType;
|
}
|
|
public String getOrgId() {
|
return this.orgId;
|
}
|
|
public void setOrgId(String orgId) {
|
this.orgId = orgId;
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
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;
|
}
|
|
public String getUserId() {
|
return this.userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
}
|