xuhy
2024-05-28 5470d21a35286abe41fafc25a7deaabefd7c55da
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * <p>
 * 推广活动设置
 * </p>
 *
 * @author 吕雪
 * @since 2020-06-09
 */
@TableName("t_activity_generalization")
public class TActivityGeneralization extends Model<TActivityGeneralization> {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "活动名称")
    @TableField(value = "activityName")
    private String activityName;
 
    @ApiModelProperty(value = "最多参与人数")
    @TableField(value = "participateCount")
    private Integer participateCount;
 
    @ApiModelProperty(value = "开始时间")
    @TableField(value = "startTime")
    private Date startTime;
 
    @ApiModelProperty(value = "结束时间")
    @TableField(value = "endTime")
    private Date endTime;
 
    @ApiModelProperty(value = "优惠券id")
    @TableField(value = "couponId")
    private Integer couponId;
 
    @ApiModelProperty(value = "发放数量")
    @TableField(value = "userGrantCount")
    private Integer userGrantCount;
 
    @ApiModelProperty(value = "每月使用数量")
    @TableField(value = "monthUseCount")
    private Integer monthUseCount;
 
    @ApiModelProperty(value = "使用说明")
    @TableField(value = "useExplain")
    private String useExplain;
 
    @ApiModelProperty(value = "是否删除  1=否 2=是")
    @TableField(value = "isDelete")
    private Integer isDelete;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getActivityName() {
        return activityName;
    }
 
    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }
 
    public Integer getParticipateCount() {
        return participateCount;
    }
 
    public void setParticipateCount(Integer participateCount) {
        this.participateCount = participateCount;
    }
 
    public Date getStartTime() {
        return startTime;
    }
 
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
 
    public Date getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
 
    public Integer getCouponId() {
        return couponId;
    }
 
    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }
 
    public Integer getUserGrantCount() {
        return userGrantCount;
    }
 
    public void setUserGrantCount(Integer userGrantCount) {
        this.userGrantCount = userGrantCount;
    }
 
    public Integer getMonthUseCount() {
        return monthUseCount;
    }
 
    public void setMonthUseCount(Integer monthUseCount) {
        this.monthUseCount = monthUseCount;
    }
 
    public String getUseExplain() {
        return useExplain;
    }
 
    public void setUseExplain(String useExplain) {
        this.useExplain = useExplain;
    }
 
    public Integer getIsDelete() {
        return isDelete;
    }
 
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
    @Override
    public String toString() {
        return "TActivityGeneralization{" +
                "id=" + id +
                ", activityName='" + activityName + '\'' +
                ", participateCount=" + participateCount +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", couponId=" + couponId +
                ", userGrantCount=" + userGrantCount +
                ", monthUseCount=" + monthUseCount +
                ", useExplain='" + useExplain + '\'' +
                ", isDelete=" + isDelete +
                '}';
    }
}