fix
Hentua
2023-04-24 c33c9c03bb90e49ad12fd237058c877e87e96ca4
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * @author wzy
 * @date 2021-09-17
 **/
@Data
@TableName("mall_goods")
public class MallGoods extends BaseEntity {
 
    private String goodsNo;
 
    private String goodsName;
 
    private String goodsIntrodution;
 
    private String unit;
 
    private String thumb;
 
    private String goodsParameter;
 
    private String goodsDetails;
 
    private Integer isSale;
 
    /**
     * 上架
     */
    public static final Integer ISSALE_STATUS_ENABLE = 1;
    /**
     * 下架
     */
    public static final Integer ISSALE_STATUS_DISABLED = 2;
 
    private String originalPrice;
 
    private String presentPrice;
 
    private Long categoryId;
 
    /**
     * 是否热卖  1:是  2:否
     */
    public static final Integer ISHOT_STATE_YES = 1;
    public static final Integer ISHOT_STATE_NO = 2;
    private Integer isHot;
 
    /**
     * 静态倍数
     */
    private BigDecimal staticMulti;
 
    /**
     * 静态占比
     */
    private BigDecimal staticProp;
 
    /**
     * 是否多规则 1-是 2-否
     */
    private Integer isSku;
 
    /**
     * 是否普通商品 1-普通商品 2-套餐
     */
    private Integer isNormal;
 
    /**
     * 库存
     */
    private Integer stock;
 
    /**
     * 销量
     */
    private Integer volume;
 
    /**
     * 成本价
     */
    private BigDecimal costPrice;
 
    /**
     * 商品类型 1-付费商品 2-积分商品
     */
    private Integer goodsType;
 
    /**
     * 积分
     */
    private BigDecimal score;
 
    @TableField(exist = false)
    private List<MallGoodsStyle> styles;
 
    @TableField(exist = false)
    private List<MallGoodsSku> skus;
 
    @TableField(exist = false)
    private List<String> images;
 
    @TableField(exist = false)
    private String orderNo;
 
    private Integer hasCarriage;
 
    private BigDecimal carriage;
    /**
     * 贡献值
     */
    private BigDecimal star;
    /**
     * 排序位置
     */
    private Integer sortCnt;
    /**
     * 积分兑换比例
     */
    private Integer scorePercent;
 
    @TableField(exist = false)
    private BigDecimal scorePercentNum;
 
    /**
     * 套餐 1-会员 2-代理 3-股东
     */
    private Integer goodsLevel;
 
    /**
     * 普通商品分红百分比
     */
    private Integer normalPer;
 
    /**
     * 普通商品分红百分比
     */
    private Integer normalBonus;
}