mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
 
import lombok.Data;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 一起议评论
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2021-01-22 15:09
 **/
@Data
@TableName(value = "com_act_discuss_comment")
public class ComActDiscussCommentDO implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 一起议主键
     */
    private Long discussId;
 
    /**
     * varchar(500)
     */
    private String comment;
 
    /**
     * 是否置顶 0 否 1 是
     */
    private Integer isTopping;
 
    /**
     * 评论时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 是否作者本人回复 0 否 1 是
     */
    private Integer isAuthor;
 
    /**
     * 上级评论id 默认0表示一级评论
     */
    private Long parentId;
 
    /**
     * 用户主键
     */
    private Long userId;
 
    /**
     * 回复量
     */
    private Integer replyNum;
 
    /**
     * 是否删除(1.是  2.否)
     */
    private Integer isDel;
 
    /**
     * 是否删除枚举(1.是  2.否)
     */
    public interface isDelete{
        int yes = 1;
        int no = 2;
    }
}