Helius
2022-09-23 7c6f033b8754b07bf5c75ae8745a982d76f9abb4
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
package cc.mrbird.febs.mall.entity;
 
import cc.mrbird.febs.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
@Data
@TableName("mall_goods_comment")
public class MallGoodsComment extends BaseEntity {
 
    /**
     * 显示
     */
    public static final Integer SHOW_STATE_ENABLE = 1;
    /**
     * 隐藏
     */
    public static final Integer SHOW_STATE_DISABLED = 2;
 
    //会员ID
    private Long memberId;
    //商品ID
    private Long goodsId;
    //样式ID
    private Long styleId;
    //规格ID
    private Long skuId;
    //订单ID
    private Long orderId;
    //评分
    private Double star;
    //评论
    private String comment;
    //图片
    private String images;
    //展示状态 1:显示 2:隐藏
    private Integer showState;
    //匿名状态 1:匿名 2:不匿名
    private Integer anonymousState;
    //商品名称
    private String goodsName;
    //样式名称
    private String styleName;
    //规格名称
    private String skuName;
 
    //查询条件 :评价等级 1:好评2:中评3:差评
    @TableField(exist = false)
    private Integer commentType;
 
}