admin
2021-11-19 4daec329f36cc9d86911c08b8ec8e00270792189
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
package com.ks.app.entity.vip;
 
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
 * @description 会员订单记录
 * @date 14:29 2021/11/17
 * @return
 **/
 
@Table("lt_vip_order_record")
public class OrderRecord {
 
    //未支付
    public final static int STATE_NOT_PAY = 0;
 
    //已支付
    public final static int STATE_PAY = 1;
 
    //订单已取消
    public final static int STATE_CANCEL = -1;
 
    //支付宝
    public final static int PAY_WAY_ALIPAY = 1;
 
    //微信
    public final static int PAY_WAY_WX = 2;
 
    //金币支付
    public final static int PAY_WAY_GOLDCORN = 3;
 
    //苹果支付
    public final static int PAY_WAY_IAPP = 4;
 
    //支付宝+金币
    public final static int PAY_WAY_ALIPAY_GOLDCORN = 13;
 
    //微信+金币
    public final static int PAY_WAY_WX_GOLDCORN = 23;
 
    @Id
    private Long id;
 
    //订单类型
    @Column(name = "order_type")
    private OrderType orderType;
 
    //用户ID
    private Long uid;
    //状态
    private Integer state;
 
    //资金支付状态
    @Column(name = "money_pay")
    private Boolean moneyPay;
 
    //资金支付状态
    @Column(name = "gold_corn_pay")
    private Boolean goldCornPay;
 
    //金币
    @Column(name = "gold_corn")
    private Integer goldCorn;
 
    //类型
    private VIPPriceType type;
 
    //资金
    private BigDecimal money;
    //支付方式
    @Column(name = "pay_way")
    private Integer payWay;
    //支付金额
    @Column(name = "pay_money")
    private BigDecimal payMoney;
 
    @Column(name = "ip_info")
    private String ipInfo;
 
    //付款时间
    @Column(name = "pay_time")
    private Date payTime;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    //会员开始时间
    @Column(name = "vip_start_time")
    private Date vipStartTime;
    //会员结束时间
    @Column(name = "vip_end_time")
    private Date vipEndTime;
 
    //备注
    private String remarks;
 
    @Column(name = "apple_transaction_id")
    private String appleTransactionId;
 
    @Column(name = "apple_original_transaction_id")
    private String appleOriginalTransactionId;
 
 
    public String getAppleTransactionId() {
        return appleTransactionId;
    }
 
    public void setAppleTransactionId(String appleTransactionId) {
        this.appleTransactionId = appleTransactionId;
    }
 
    public String getAppleOriginalTransactionId() {
        return appleOriginalTransactionId;
    }
 
    public void setAppleOriginalTransactionId(String appleOriginalTransactionId) {
        this.appleOriginalTransactionId = appleOriginalTransactionId;
    }
 
    public Boolean getMoneyPay() {
        return moneyPay;
    }
 
    public void setMoneyPay(Boolean moneyPay) {
        this.moneyPay = moneyPay;
    }
 
    public Boolean getGoldCornPay() {
        return goldCornPay;
    }
 
    public void setGoldCornPay(Boolean goldCornPay) {
        this.goldCornPay = goldCornPay;
    }
 
    public Date getVipStartTime() {
        return vipStartTime;
    }
 
    public void setVipStartTime(Date vipStartTime) {
        this.vipStartTime = vipStartTime;
    }
 
    public Date getVipEndTime() {
        return vipEndTime;
    }
 
    public void setVipEndTime(Date vipEndTime) {
        this.vipEndTime = vipEndTime;
    }
 
    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 Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public VIPPriceType getType() {
        return type;
    }
 
    public void setType(VIPPriceType type) {
        this.type = type;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public Integer getPayWay() {
        return payWay;
    }
 
    public void setPayWay(Integer payWay) {
        this.payWay = payWay;
    }
 
    public BigDecimal getPayMoney() {
        return payMoney;
    }
 
    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }
 
    public Date getPayTime() {
        return payTime;
    }
 
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
 
    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 getIpInfo() {
        return ipInfo;
    }
 
    public void setIpInfo(String ipInfo) {
        this.ipInfo = ipInfo;
    }
 
    public Integer getGoldCorn() {
        return goldCorn;
    }
 
    public void setGoldCorn(Integer goldCorn) {
        this.goldCorn = goldCorn;
    }
 
    public OrderType getOrderType() {
        return orderType;
    }
 
    public void setOrderType(OrderType orderType) {
        this.orderType = orderType;
    }
 
    public String getRemarks() {
        return remarks;
    }
 
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}