admin
2019-10-28 8ba02b125d2df1a3393efdb276daae2244452d45
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
package com.yeshi.fanli.entity.bus.msg;
 
import java.math.BigDecimal;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
import com.yeshi.fanli.entity.bus.user.Extract;
import com.yeshi.fanli.entity.bus.user.UserInfo;
 
/**
 * 奖金到账记录
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_msg_money")
public class MsgMoneyDetail {
    public enum MsgTypeMoneyTypeEnum {
 
        share("分享奖金"), invite("邀请奖金"), fanli("返利到账"), extract("提现"), extractAutoWX("自动提现"), extractValid("提现账号验证"), shareWeiQuan(
                "分享奖金扣除"), inviteWeiQuan("邀请奖金扣除"), fanliWeiQuan("返利扣除"), orderReward("返利奖励"), systemEqualize("系统补齐"),fanliElme("返利到账"),subSidy("额外补贴");
        private final String desc;
 
        private MsgTypeMoneyTypeEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
 
    @Column(name = "mm_id")
    private Long id;
    @Column(name = "mm_uid")
    private UserInfo user;
    @Column(name = "mm_type")
    private MsgTypeMoneyTypeEnum msgType;// 消息类型
    @Column(name = "mm_order_count")
    private Integer orderCount;// 订单数(奖金适用)
    @Column(name = "mm_goods_count")
    private Integer goodsCount;// 商品数
    @Column(name = "mm_order_id")
    private String orderId;// 订单号(返利适用)
    @Column(name = "mm_order_type")
    private Integer orderType;
    @Column(name = "mm_source_id")
    private Extract extract;// 提现详情
    private AlipayAccountValidNormalHistory alipayAccountValid;// 提现账号验证详情
    @Column(name = "mm_money")
    private BigDecimal money;// 到账资金
    @Column(name = "mm_balance")
    private BigDecimal balance;// 账户余额
    @Column(name = "mm_state_desc")
    private String stateDesc;// 状态说明
    @Column(name = "mm_desc")
    private String desc;// 说明
    @Column(name = "mm_beizhu")
    private String beiZhu;// 备注
    @Column(name = "mm_create_time")
    private Date createTime;
    @Column(name = "mm_update_time")
    private Date updateTime;
    @Column(name = "mm_read")
    private Boolean read;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public UserInfo getUser() {
        return user;
    }
 
    public void setUser(UserInfo user) {
        this.user = user;
    }
 
    public String getStateDesc() {
        return stateDesc;
    }
 
    public void setStateDesc(String stateDesc) {
        this.stateDesc = stateDesc;
    }
 
    public MsgTypeMoneyTypeEnum getMsgType() {
        return msgType;
    }
 
    public void setMsgType(MsgTypeMoneyTypeEnum msgType) {
        this.msgType = msgType;
    }
 
    public Integer getOrderCount() {
        return orderCount;
    }
 
    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }
 
    public Integer getGoodsCount() {
        return goodsCount;
    }
 
    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }
 
    public String getOrderId() {
        return orderId;
    }
 
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
 
    public Extract getExtract() {
        return extract;
    }
 
    public void setExtract(Extract extract) {
        this.extract = extract;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public BigDecimal getBalance() {
        return balance;
    }
 
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
 
    public String getBeiZhu() {
        return beiZhu;
    }
 
    public void setBeiZhu(String beiZhu) {
        this.beiZhu = beiZhu;
    }
 
    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 Boolean getRead() {
        return read;
    }
 
    public void setRead(Boolean read) {
        this.read = read;
    }
 
    public AlipayAccountValidNormalHistory getAlipayAccountValid() {
        return alipayAccountValid;
    }
 
    public void setAlipayAccountValid(AlipayAccountValidNormalHistory alipayAccountValid) {
        this.alipayAccountValid = alipayAccountValid;
    }
 
    public Integer getOrderType() {
        return orderType;
    }
 
    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
}