xiaoyong931011
2023-08-18 544c84ec7e9e285015cd79d48e6e4c7dcf6e6f7b
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
package cc.mrbird.febs.dapp.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.util.List;
 
@Data
@TableName("mall_goods")
public class MallGoods extends BaseEntity {
    //商品编号
    private String goodsNo;
    //商品名称
    private String goodsName;
    //商品介绍
    private String goodsIntrodution;
    //缩略图
    private String thumb;
    //商品参数
    private String goodsParameter;
    //商品详情
    private String goodsDetails;
    //是否上架;1-上架 2-下架
    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 Integer volume;
    /**
     * 排序
     */
    private Integer sortCnt;
    /**
     * 规格ID
     */
    private Long categoryId;
 
    @TableField(exist = false)
    private String categoryName;
 
    @TableField(exist = false)
    private List<String> images;
 
}