mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.service_community.entity;
 
import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
 
import lombok.Data;
 
/**
 * 电动车商城-商家活动表(ComBatteryCommodityActivity)实体类
 *
 * @author lyq
 * @since 2022-03-29 13:17:39
 */
@Data
public class ComBatteryCommodityActivity implements Serializable {
    private static final long serialVersionUID = -53789140646648793L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 活动名称
     */
    private String name;
    /**
     * 活动类型(1.拼团活动 2.砍价活动 3.限时秒杀)
     */
    private Integer type;
    /**
     * 商品id
     */
    private Long commodityId;
    /**
     * 商家id
     */
    private Long storeId;
    /**
     * 状态(1.进行中 2.已下架 3.已结束)
     */
    private Integer status;
    /**
     * 是否删除(1.是 2.否)
     */
    private Integer isDel;
    /**
     * 活动价格
     */
    private BigDecimal price;
    /**
     * 活动截止时间
     */
    private Date endTime;
    /**
     * 拼团总团数
     */
    private Integer collageNum;
    /**
     * 拼团人数
     */
    private Integer collagePeopleNum;
    /**
     * 活动图片
     */
    private String images;
    /**
     * 活动商品总数
     */
    private Integer commodityNum;
    /**
     * 活动规则
     */
    private String rule;
    /**
     * 创建时间
     */
    private Date createAt;
    /**
     * 创建人id
     */
    private Long createBy;
    /**
     * 更新时间
     */
    private Date updateAt;
    /**
     * 更新人id
     */
    private Long updateBy;
    /**
     * 活动商品已卖出数量
     */
    private Integer commoditySaleNum;
    /**
     * 商品规格id
     */
    private Long specsId;
    /**
     * 是否删除枚举(1.是 2.否)
     */
    public interface IsDel{
        int YES = 1;
        int NO = 2;
    }
    /**
     * 状态(1.进行中 2.已下架 3.已结束)
     */
    public interface Status{
        int JXZ = 1;
        int YXJ = 2;
        int YJS = 3;
    }
 
    /**
     * 活动类型(1.拼团活动 2.砍价活动 3.限时秒杀)
     */
    public interface Type{
        int PT = 1;
        int KJ = 2;
        int MS = 3;
    }
}