yj
2020-03-06 207dc8655711cddac2653e18b51e58a88dba2084
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
package com.yeshi.fanli.entity.redpack;
 
import java.math.BigDecimal;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 * 红包封禁记录
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_red_pack_forbid_record")
public class RedPackForbidRecord {
    
    public static final int TYPE_ONE_MONTH = 1;
    public static final int TYPE_THREE_MONTH = 2;
    public static final int TYPE_SIX_MONTH = 3; 
    public static final int TYPE_ONE_YEAR = 4;
    public static final int TYPE_HUNDRED_YEAR = 5;
    
    @Column(name = "rpv_id")
    private Long id;
 
    @Column(name = "rpv_uid")
    private Long uid;
    
    @Column(name = "rpv_money")
    private BigDecimal money;
 
    @Column(name = "rpv_date_type")
    private Integer type;
 
    @Column(name = "rpv_reason")
    private String reason;
 
    @Column(name = "rpv_end_time")
    private Date endTime;
 
    @Column(name = "rpv_admin_id")
    private Long adminId;
    
    @Column(name = "rpv_create_time")
    private Date createTime;
 
    // 剩余时间
    private String surplusTime;
    
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public String getReason() {
        return reason;
    }
 
    public void setReason(String reason) {
        this.reason = reason;
    }
 
    public Date getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getSurplusTime() {
        return surplusTime;
    }
 
    public void setSurplusTime(String surplusTime) {
        this.surplusTime = surplusTime;
    }
 
    public Long getAdminId() {
        return adminId;
    }
 
    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }
 
}