yujian
2019-11-20 64d96fd02c487ff70b6d342534b2fb79089d35ba
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
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_win_invite")
public class RedPackWinInvite {
    public enum RedPackWinInviteTypeEnum {
        newUserReward("首次使用板栗快省新人奖励"), 
        oneStageReward("成功邀请好友立得现金"), 
        twoStageReward("完成分享订单递增奖励"), 
        threeStageReward("完成分享订单连续奖励");
 
        private final String desc;
 
        private RedPackWinInviteTypeEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
    
    @Column(name = "rwr_id")
    private Long id;
    // 用户id
    @Column(name = "rwr_uid")
    private Long uid;
    
    // 队员id
    @Column(name = "rwr_team_uid")
    private Long teamUid;
    
    // 余额
    @Column(name = "rwr_money")
    private BigDecimal money;
    
    // 类型
    @Column(name = "rwr_type")
    private RedPackWinInviteTypeEnum type;
    
    // 订单来源
    @Column(name = "rwr_source")
    private Integer source;
    
    // 唯一标识
    @Column(name = "rwr_identify_code")
    private String identifyCode;
        
    // 订单号
    @Column(name = "rwr_order_no")
    private String orderNo;
        
    @Column(name = "rwr_create_time")
    private Date createTime;
    
    @Column(name = "rwr_update_time")
    private Date updateTime;
 
    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 Long getTeamUid() {
        return teamUid;
    }
 
    public void setTeamUid(Long teamUid) {
        this.teamUid = teamUid;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public RedPackWinInviteTypeEnum getType() {
        return type;
    }
 
    public void setType(RedPackWinInviteTypeEnum type) {
        this.type = type;
    }
 
    public Integer getSource() {
        return source;
    }
 
    public void setSource(Integer source) {
        this.source = source;
    }
 
    public String getOrderNo() {
        return orderNo;
    }
 
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
 
    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 getIdentifyCode() {
        return identifyCode;
    }
 
    public void setIdentifyCode(String identifyCode) {
        this.identifyCode = identifyCode;
    }
}