yujian
2019-04-08 1da17d215d48e3e3aa9e8d7a3ef526904764f408
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
package com.yeshi.fanli.entity.bus.user;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 *    抽奖次数记录
 * @author Administrator
 *
 */
@Table("yeshi_ec_user_lottery_record")
public class UserLotteryRecord {
    
    // 新人抽奖
    public static String TYPE_NEWBIES = "newbies";
    // 天天抽奖-奖励券
    public static String TYPE_DAILY_REBATE= "dailyRebate";
    
    // 新人抽奖
    public static int COUNT_NEWBIES = 5;
    // 天天抽奖-奖励券
    public static int COUNT_DAILY_REBATE= 5;
    
    @Column(name = "ulr_id")
    private Long id;
 
    // 抽奖类型
    @Column(name = "ulr_type")
    private String type;
 
    // 图片
    @Column(name = "ulr_uid")
    private Long uid;
    
    // 剩余次数
    @Column(name = "ulr_count")
    private Integer count;
    
    // 创建时间
    @Column(name = "ulr_create_time")
    private Date createTime;
 
    // 更新时间
    @Column(name = "ulr_update_time")
    private Date updateTime;
    
    public UserLotteryRecord(){}
    
    public UserLotteryRecord(Long id){
        this.id = id;
    }
    
    
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public Integer getCount() {
        return count;
    }
 
    public void setCount(Integer count) {
        this.count = count;
    }
 
    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;
    }
 
}