yujian
2019-12-25 59aced4fe04f7e2fdcca81cb9ef279a70522301e
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
package com.yeshi.fanli.entity.integral;
 
import java.io.Serializable;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.google.gson.annotations.Expose;
import com.yeshi.fanli.entity.common.JumpDetailV2;
 
/**
 * 积分任务分类
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_integral_task_class")
public class IntegralTaskClass implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    public enum UniqueKeyEnum {
        dailySign("每日签到"), smartSearch("智能搜索"), buyReduce("自购立减"), inviteTeam("邀请粉丝"), shareReward("分享奖励"), 
        giveReward("赠送奖励"), scanReward("浏览奖励") , orderReward("订单奖励"), accountMaintain("账号维护");
        private final String desc;
 
        private UniqueKeyEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
 
    @Expose
    @Column(name = "tc_id")
    private Long id;
 
    @Expose
    @Column(name = "tc_name")
    private String name;// 名称
    
    @Expose
    @Column(name = "tc_picture")
    private String picture;// 图片
 
    @Column(name = "tc_unique_key")
    private UniqueKeyEnum uniqueKey; // 唯一值
    
    @Expose
    @Column(name = "tc_tip")
    private String tip; // 提示
 
    @Expose
    @Column(name = "tc_btn_name")
    private String btnName; // 按钮名称
 
    @Expose
    @Column(name = "tc_jump_id")
    private JumpDetailV2 jumpDetail; // 跳转
 
    @Expose
    @Column(name = "tc_params")
    private String params; // 跳转参数
 
    @Expose
    @Column(name = "tc_rule_name")
    private String ruleName; // 规则名称
 
    @Expose
    @Column(name = "tc_rule")
    private String rule; // 规则
    
    @Expose
    @Column(name = "tc_rule_link")
    private String ruleLink; // 规则详细链接
    
    @Expose
    @Column(name = "tc_progress")
    private String progress; // 进度
 
    @Column(name = "tc_orderby")
    private Integer orderBy;// 排序值,越小越靠前
    
    @Column(name = "tc_state")
    private Integer state;// 状态:1启用,0停用
 
    @Column(name = "tc_create_time")
    private Date createTime;
 
    @Column(name = "tc_update_time")
    private Date updateTime;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getTip() {
        return tip;
    }
 
    public void setTip(String tip) {
        this.tip = tip;
    }
 
    public String getRule() {
        return rule;
    }
 
    public void setRule(String rule) {
        this.rule = rule;
    }
 
    public Integer getOrderBy() {
        return orderBy;
    }
 
    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public String getBtnName() {
        return btnName;
    }
 
    public void setBtnName(String btnName) {
        this.btnName = btnName;
    }
 
    public String getRuleName() {
        return ruleName;
    }
 
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }
 
    public JumpDetailV2 getJumpDetail() {
        return jumpDetail;
    }
 
    public void setJumpDetail(JumpDetailV2 jumpDetail) {
        this.jumpDetail = jumpDetail;
    }
 
    public String getParams() {
        return params;
    }
 
    public void setParams(String params) {
        this.params = params;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public UniqueKeyEnum getUniqueKey() {
        return uniqueKey;
    }
 
    public void setUniqueKey(UniqueKeyEnum uniqueKey) {
        this.uniqueKey = uniqueKey;
    }
 
    public String getPicture() {
        return picture;
    }
 
    public void setPicture(String picture) {
        this.picture = picture;
    }
 
    public String getProgress() {
        return progress;
    }
 
    public void setProgress(String progress) {
        this.progress = progress;
    }
 
    public String getRuleLink() {
        return ruleLink;
    }
 
    public void setRuleLink(String ruleLink) {
        this.ruleLink = ruleLink;
    }
    
}