admin
2022-04-07 e1cc0d03fadc2d251d36c0dc3650f75e830d5363
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
package com.yeshi.makemoney.app.entity.money;
 
import com.google.gson.annotations.Expose;
import com.yeshi.makemoney.app.entity.user.UserInfo;
import org.springframework.data.annotation.Id;
import org.yeshi.utils.generater.mybatis.Column;
import org.yeshi.utils.generater.mybatis.Table;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @author hxh
 * @title: Extract
 * @description: 提现
 * @date 2022/4/1 11:57
 */
@Table("mm_ec_extract")
public class Extract {
    // 未处理
    public static int STATE_NOT_PROCESS = 0;
    // 通过
    public static int STATE_PASS = 1;
    // 拒绝
    public static int STATE_REJECT = 2;
    // 正在处理
    public static int STATE_PROCESSING = 3;
 
    public Extract() {
    }
 
 
    public Extract(Long id) {
        this.id = id;
    }
 
 
    @Id
    private Long id;
 
    /**
     * 用户
     **/
    @Column(name = "uid")
    private UserInfo user;
 
    /**
     * 处理的管理员ID
     **/
    @Expose
    private Long adminId;
 
    /**
     * 账户(若为微信则为openid)
     **/
    private String account;
 
    /**
     * 名称(若为微信,为空)
     **/
    private String name;
 
    /**
     * 提现支付类型
     **/
    private ExtractPayType type;
 
    /**
     * 提现金额
     **/
    private BigDecimal money;
 
    private String ip;
 
    private Integer state;
 
    private String reason;
 
 
    /**
     * 提现成功时间
     **/
    private Date successTime;
 
    private Date createTime;
 
    private Date updateTime;
 
 
    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 Long getAdminId() {
        return adminId;
    }
 
    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }
 
    public String getAccount() {
        return account;
    }
 
    public void setAccount(String account) {
        this.account = account;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public ExtractPayType getType() {
        return type;
    }
 
    public void setType(ExtractPayType type) {
        this.type = type;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public String getIp() {
        return ip;
    }
 
    public void setIp(String ip) {
        this.ip = ip;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public String getReason() {
        return reason;
    }
 
    public void setReason(String reason) {
        this.reason = reason;
    }
 
    public Date getSuccessTime() {
        return successTime;
    }
 
    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }
 
    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;
    }
}