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;
|
|
}
|