package com.highdatas.srs.entity;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;
/**
*
*
*
*
* @author kimi
* @since 2020-01-15
*/
@TableName("topic")
public class Topic extends Model {
private static final long serialVersionUID = 1L;
private String id;
private String title;
private String desp;
@TableField("user_id")
private String userId;
private String attachment;
private Boolean examine;
@TableField("create_time")
private Date createTime;
public Date getCreateTime() {
return createTime;
}
public Topic setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
public Boolean getExamine() {
return examine;
}
public Topic setExamine(Boolean examine) {
this.examine = examine;
return this;
}
public String getTitle() {
return title;
}
public Topic setTitle(String title) {
this.title = title;
return this;
}
public String getId() {
return id;
}
public Topic setId(String id) {
this.id = id;
return this;
}
public String getDesp() {
return desp;
}
public Topic setDesp(String desp) {
this.desp = desp;
return this;
}
public String getUserId() {
return userId;
}
public Topic setUserId(String userId) {
this.userId = userId;
return this;
}
public String getAttachment() {
return attachment;
}
public Topic setAttachment(String attachment) {
this.attachment = attachment;
return this;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "Topic{" +
"id=" + id +
", title=" + title +
", createTime=" + createTime +
", desp=" + desp +
", userId=" + userId +
", attachment=" + attachment +
"}";
}
}