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
81
82
83
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
 
import lombok.Data;
 
/**
 * @auther lyq
 * @create 2021-04-28 09:21:33
 * @describe 邻里圈评论表实体类
 */
 
@Data
@TableName("com_act_neighbor_circle_comment_west")
public class ComActNeighborCircleCommentWestDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 邻里圈id
     */
    private Long circleId;
 
    /**
     * 评论用户id
     */
    private Long userId;
 
    /**
     * 评论内容
     */
    private String content;
 
    /**
     * 评论用户手机号
     */
    private String userPhone;
 
    /**
     * 点赞数
     */
    private Integer fabulousNum;
 
    /**
     * 状态(1.显示 2.隐藏)
     */
    private Integer status;
 
    /**
     * 评论时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 是否是作者评论(1.是 2.否)
     */
    private Integer isRelease;
 
    @Override
    public String toString() {
        return "ComActNeighborCircleCommentDO{" + "id=" + id + ", circleId=" + circleId + ", userId=" + userId
            + ", content=" + content + ", userPhone=" + userPhone + ", fabulousNum=" + fabulousNum + ", status="
            + status + ", createAt=" + createAt + ", isRelease=" + isRelease + "}";
    }
 
    /**
     * 是否是作者评论(1.是 2.否)
     */
    public interface isRelease {
        int yes = 1;
        int no = 2;
    }
}