package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 发现评论
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-02-06
|
*/
|
@TableName("t_find_comment")
|
@Data
|
public class FindComment extends Model<FindComment> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 发现id
|
*/
|
private Integer findId;
|
/**
|
* 评论内容
|
*/
|
private String content;
|
/**
|
* 点赞数量
|
*/
|
private Integer likeCount;
|
/**
|
* pid为0 则是评论的发现
|
*/
|
private Integer pid;
|
/**
|
* 发布评论的用户id
|
*/
|
private Integer userId;
|
/**
|
* 回复的用户id
|
*/
|
private Integer replyUserId;
|
/**
|
* 回复时间
|
*/
|
private Date insertTime;
|
/**
|
* 是否展示0否1是
|
*/
|
private Integer isShow;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getFindId() {
|
return findId;
|
}
|
|
public void setFindId(Integer findId) {
|
this.findId = findId;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public Integer getPid() {
|
return pid;
|
}
|
|
public void setPid(Integer pid) {
|
this.pid = pid;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Integer getReplyUserId() {
|
return replyUserId;
|
}
|
|
public void setReplyUserId(Integer replyUserId) {
|
this.replyUserId = replyUserId;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public Integer getIsShow() {
|
return isShow;
|
}
|
|
public void setIsShow(Integer isShow) {
|
this.isShow = isShow;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "FindComment{" +
|
"id=" + id +
|
", findId=" + findId +
|
", content=" + content +
|
", pid=" + pid +
|
", userId=" + userId +
|
", replyUserId=" + replyUserId +
|
", insertTime=" + insertTime +
|
", isShow=" + isShow +
|
"}";
|
}
|
}
|