admin
2020-05-19 744594ef1a2f530fc3e86ea9dc48b62247f79420
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
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;
 
/**
 * 用户积分任务记录
 * 
 * @author Administrator
 *
 */
/**
 * @author Administrator
 *
 */
@Table("yeshi_ec_integral_task_record")
public class IntegralTaskRecord implements Serializable {
 
    public static int STATE_WAITING_RECIEVE = 0;// 等待领取
    public static int STATE_ALREAD_RECIEVE = 1;// 已领取
    public static int STATE_INVALID = 2;// 失效
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    @Expose
    @Column(name = "ir_id")
    private Long id;
 
    @Column(name = "ir_cid")
    private Long cid;
 
    @Column(name = "ir_task_id")
    private Long taskId;
 
    @Column(name = "ir_uid")
    private Long uid;
 
    @Expose
    @Column(name = "ir_gold_coin")
    private Integer goldCoin; // 获得金币
 
    @Column(name = "ir_state")
    private Integer state; // 状态:0待领取 1已领取 2失效
 
    @Column(name = "ir_create_time")
    private Date createTime;
 
    @Column(name = "ir_update_time")
    private Date updateTime;
    
    @Column(name = "ir_end_time")
    private Date endTime; // 失效时间
    
 
    @Expose
    private String taskName; // 任务名称
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getCid() {
        return cid;
    }
 
    public void setCid(Long cid) {
        this.cid = cid;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public Integer getGoldCoin() {
        return goldCoin;
    }
 
    public void setGoldCoin(Integer goldCoin) {
        this.goldCoin = goldCoin;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    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 getTaskName() {
        return taskName;
    }
 
    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }
 
    public Long getTaskId() {
        return taskId;
    }
 
    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
 
    public Date getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    
}