jiangqs
2023-04-17 beca3df3014d52c487fc18a774323d42afa2c317
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
package com.hrt.system.pojo;
 
import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
 
import com.baomidou.mybatisplus.annotations.Version;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * <p>
 * 商品表
 * </p>
 *
 * @author jqs
 * @since 2023-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_goods")
public class Goods extends Model<Goods> {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 商品id
     */
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;
    /**
     * 删除标记
     */
    @TableField("del_flag")
    private String delFlag;
    /**
     * 商品状态-1删除1上架2下架
     */
    @TableField("goods_status")
    private Integer goodsStatus;
    /**
     * 商品类型1周期2服务3体验4单品
     */
    @TableField("goods_type")
    private Integer goodsType;
    @TableField("create_time")
    private Date createTime;
    @TableField("create_user_id")
    private Integer createUserId;
    @TableField("update_time")
    private Date updateTime;
    @TableField("update_user_id")
    private Integer updateUserId;
    /**
     * 商品分类id
     */
    @TableField("goods_class_id")
    private Integer goodsClassId;
    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 周期次数标记0否1是
     */
    @TableField("cycle_num_flag")
    private Integer cycleNumFlag;
    /**
     * 服务次数
     */
    @TableField("service_num")
    private Integer serviceNum;
    /**
     * 商品简介
     */
    @TableField("goods_introduction")
    private String goodsIntroduction;
    /**
     * 建议售价
     */
    @TableField("sales_price")
    private BigDecimal salesPrice;
    /**
     * 最低售价
     */
    @TableField("mininum_price")
    private BigDecimal mininumPrice;
    /**
     * 订金标记0否1是
     */
    @TableField("subscription_flag")
    private Integer subscriptionFlag;
    /**
     * 订金
     */
    private BigDecimal subscription;
    /**
     * 商品详情
     */
    @TableField("goods_detail")
    private String goodsDetail;
    /**
     * 是否推荐0否1是
     */
    @TableField("recommend_flag")
    private Integer recommendFlag;
 
 
    @Override
    protected Serializable pkVal() {
        return this.goodsId;
    }
 
}