admin
2019-11-08 ae6bf015031bd6579cc719ee7689d8160e3d92d2
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
271
package com.yeshi.fanli.entity.shop;
 
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_shop_order")
public class BanLiShopOrder {
 
    public final static int PAY_STATE_NOPAY = 0;// 未支付
    public final static int PAY_STATE_PAID = 1;// 已支付
    public final static int PAY_STATE_REFUNDING = 2;// 退款中
    public final static int PAY_STATE_REFUND = 3;// 已退款
 
    public final static int STATE_INVALID = -1;// 失效
    public final static int STATE_NO_PAY = 0;// 未支付
    public final static int STATE_PART_PAY = 1;// 部分支付
    public final static int STATE_PAID = 5;// 已支付,待审核
    public final static int STATE_REJECT = 10;// 审核拒绝,退款中
    public final static int STATE_REJECT_REFUND_SUCCESS = 11;// 审核拒绝-退款成功
    public final static int STATE_REJECT_REFUND_PART_SUCCESS = 12;// 审核拒绝-部分退款成功
    public final static int STATE_REJECT_REFUND_FAIL = 15;// 审核拒绝-退款失败
    public final static int STATE_SUCCESS = 20;// 交易成功
 
    public BanLiShopOrder(Long id) {
        super();
        this.id = id;
    }
 
    public BanLiShopOrder() {
    }
 
    @Column(name = "so_id")
    private Long id;
    @Column(name = "so_uid")
    private Long uid;
    @Column(name = "so_order_no")
    private String orderNo;
    @Column(name = "so_goods_id")
    private BanLiShopGoods goods;
    @Column(name = "so_goods_set_id")
    private BanLiShopGoodsSets goodsSet;
    @Column(name = "so_payment_hongbao")
    private BigDecimal hongBaoPayment;// 红包支付金额
    @Column(name = "so_payment_hongbao_state")
    private Integer hongBaoPaymentState;// 支付金额状态
    @Column(name = "so_payment_balance")
    private BigDecimal balancePayment;// 余额支付金额
    @Column(name = "so_payment_balance_state")
    private Integer balancePaymentState;// 余额金额状态
    @Column(name = "so_payment_money")
    private BigDecimal moneyPayment;// 现金支付金额
    @Column(name = "so_payment_money_state")
    private Integer moneyPaymentState;// 现金金额状态
    @Column(name = "so_pay_time")
    private Date payTime;// 订单支付时间
    @Column(name = "so_reject_time")
    private Date rejectTime;// 拒绝时间
    @Column(name = "so_success_time")
    private Date successTime;// 交易成功时间
    @Column(name = "so_state") // -1-已失效 0-未支付 1-已支付,待审核 10-审核拒绝 20-交易成功
    private Integer state;// 状态
    @Column(name = "so_state_desc")
    private String stateDesc;// 状态简介
    @Column(name = "so_charge_account_type")
    private ChargeTypeEnum chargeAccountType;// 充值账号类型
    @Column(name = "so_charge_account")
    private String chargeAccount;// 充值账号
    @Column(name = "so_charge_account2")
    private String chargeAccount2;// 充值账号2(备用)
    @Column(name = "so_beizhu")
    private String beiZhu;// 备注
    @Column(name = "so_create_time")
    private Date createTime;// 创建时间
    @Column(name = "so_update_time")
    private Date updateTime;// 更新时间
    @Column(name = "so_order_goods_id")
    private BanLiShopOrderGoods orderGoods;
 
    public BanLiShopOrderGoods getOrderGoods() {
        return orderGoods;
    }
 
    public void setOrderGoods(BanLiShopOrderGoods orderGoods) {
        this.orderGoods = orderGoods;
    }
 
    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 String getOrderNo() {
        return orderNo;
    }
 
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
 
    public BanLiShopGoods getGoods() {
        return goods;
    }
 
    public void setGoods(BanLiShopGoods goods) {
        this.goods = goods;
    }
 
    public BanLiShopGoodsSets getGoodsSet() {
        return goodsSet;
    }
 
    public void setGoodsSet(BanLiShopGoodsSets goodsSet) {
        this.goodsSet = goodsSet;
    }
 
    public BigDecimal getHongBaoPayment() {
        return hongBaoPayment;
    }
 
    public void setHongBaoPayment(BigDecimal hongBaoPayment) {
        this.hongBaoPayment = hongBaoPayment;
    }
 
    public Integer getHongBaoPaymentState() {
        return hongBaoPaymentState;
    }
 
    public void setHongBaoPaymentState(Integer hongBaoPaymentState) {
        this.hongBaoPaymentState = hongBaoPaymentState;
    }
 
    public BigDecimal getBalancePayment() {
        return balancePayment;
    }
 
    public void setBalancePayment(BigDecimal balancePayment) {
        this.balancePayment = balancePayment;
    }
 
    public Integer getBalancePaymentState() {
        return balancePaymentState;
    }
 
    public void setBalancePaymentState(Integer balancePaymentState) {
        this.balancePaymentState = balancePaymentState;
    }
 
    public BigDecimal getMoneyPayment() {
        return moneyPayment;
    }
 
    public void setMoneyPayment(BigDecimal moneyPayment) {
        this.moneyPayment = moneyPayment;
    }
 
    public Integer getMoneyPaymentState() {
        return moneyPaymentState;
    }
 
    public void setMoneyPaymentState(Integer moneyPaymentState) {
        this.moneyPaymentState = moneyPaymentState;
    }
 
    public Date getPayTime() {
        return payTime;
    }
 
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
 
    public Date getRejectTime() {
        return rejectTime;
    }
 
    public void setRejectTime(Date rejectTime) {
        this.rejectTime = rejectTime;
    }
 
    public Date getSuccessTime() {
        return successTime;
    }
 
    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public String getStateDesc() {
        return stateDesc;
    }
 
    public void setStateDesc(String stateDesc) {
        this.stateDesc = stateDesc;
    }
 
    public String getChargeAccount() {
        return chargeAccount;
    }
 
    public void setChargeAccount(String chargeAccount) {
        this.chargeAccount = chargeAccount;
    }
 
    public String getChatgeAccount2() {
        return chargeAccount2;
    }
 
    public void setChatgeAccount2(String chargeAccount2) {
        this.chargeAccount2 = chargeAccount2;
    }
 
    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 ChargeTypeEnum getChargeAccountType() {
        return chargeAccountType;
    }
 
    public void setChargeAccountType(ChargeTypeEnum chargeAccountType) {
        this.chargeAccountType = chargeAccountType;
    }
}