MCPcopy Create free account
hub / github.com/Vanzaseses/hmdp / Blog

Class Blog

hm-dianping/src/main/java/com/hmdp/entity/Blog.java:22–97  ·  view source on GitHub ↗

@author 虎哥 @since 2021-12-22

Source from the content-addressed store, hash-verified

20 * @since 2021-12-22
21 */
22@Data
23@EqualsAndHashCode(callSuper = false)
24@Accessors(chain = true)
25@TableName("tb_blog")
26public class Blog implements Serializable {
27
28 private static final long serialVersionUID = 1L;
29
30 /**
31 * 主键
32 */
33 @TableId(value = "id", type = IdType.AUTO)
34 private Long id;
35 /**
36 * 商户id
37 */
38 private Long shopId;
39 /**
40 * 用户id
41 */
42 private Long userId;
43 /**
44 * 用户图标
45 */
46 @TableField(exist = false)
47 private String icon;
48
49 /**
50 * 用户姓名
51 */
52 @TableField(exist = false)
53 private String name;
54
55 /**
56 * 是否点赞过了
57 */
58 @TableField(exist = false)
59 private Boolean isLike;
60
61 /**
62 * 标题
63 */
64 private String title;
65
66 /**
67 * 探店的照片,最多9张,多张以","隔开
68 */
69 private String images;
70
71 /**
72 * 探店的文字描述
73 */
74 private String content;
75
76 /**
77 * 点赞数量
78 */
79 private Integer liked;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected