Administrator
2024-07-29 a053811c774ac07340e46561f5d2ab4d892282a0
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
package com.taoke.autopay.entity;
 
import lombok.Data;
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: KeyOrder
 * @description: TODO
 * @date 2024/6/14 18:58
 */
@Data
@Table("table_order")
public class KeyOrder {
    // 尚未处理
    public final static int STATE_NOT_PROCESS = 0;
    // 尚未支付
    public final static int STATE_NOT_PAY = 1;
    // 已支付
    public final static int STATE_PAY = 2;
    // 已支付
    public final static int STATE_REJECT_PAY = 3;
 
 
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "uid")
    private Long uid;
    @Column(name = "`key`")
    private String key;
    @Column(name = "order_type")
    private Integer orderType;
    @Column(name = "order_no")
    private String orderNo;
    @Column(name = "order_state")
    private Integer orderState;
    @Column(name = "state")
    private Integer state;
    @Column(name = "state_desc")
    private String stateDesc;
    @Column(name = "distribute_client_uid")
    private Long distributeClientUid;
    @Column(name = "distribute_time")
    private Date distributeTime;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "excute_pay_time")
    private Date excutePayTime;
    @Column(name = "pay_time")
    private Date payTime;
    @Column(name = "order_money")
    private BigDecimal orderMoney;
    @Column(name = "order_channel")
    private String orderChannel;
    @Column(name = "pay_type")
    private Integer payType;
    /**
     * 代理ID
     **/
    @Column(name = "agent_id")
    private Long agentId;
 
    private WxUserInfo user;
}