MCPcopy Create free account
hub / github.com/Xiaoc7r/CityHub / BlogComments

Class BlogComments

src/main/java/com/hmdp/entity/BlogComments.java:21–81  ·  view source on GitHub ↗

@author 虎哥 @since 2021-12-22

Source from the content-addressed store, hash-verified

19 * @since 2021-12-22
20 */
21@Data
22@EqualsAndHashCode(callSuper = false)
23@Accessors(chain = true)
24@TableName("tb_blog_comments")
25public class BlogComments implements Serializable {
26
27 private static final long serialVersionUID = 1L;
28
29 /**
30 * 主键
31 */
32 @TableId(value = "id", type = IdType.AUTO)
33 private Long id;
34
35 /**
36 * 用户id
37 */
38 private Long userId;
39
40 /**
41 * 探店id
42 */
43 private Long blogId;
44
45 /**
46 * 关联的1级评论id,如果是一级评论,则值为0
47 */
48 private Long parentId;
49
50 /**
51 * 回复的评论id
52 */
53 private Long answerId;
54
55 /**
56 * 回复的内容
57 */
58 private String content;
59
60 /**
61 * 点赞数
62 */
63 private Integer liked;
64
65 /**
66 * 状态,0:正常,1:被举报,2:禁止查看
67 */
68 private Boolean status;
69
70 /**
71 * 创建时间
72 */
73 private LocalDateTime createTime;
74
75 /**
76 * 更新时间
77 */
78 private LocalDateTime updateTime;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected