mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.service_community.model.dos;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @ClassName: ComShopFlowerOrderPay
 * @Author: yh
 * @Date: 2022/11/9 16:46
 * @Description: 花城订单支付记录表
 */
@TableName(value = "com_shop_flower_order_pay")
@Data
public class ComShopFlowerOrderPayDO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 订单号
     */
    @TableField(value = "order_no")
    private String orderNo;
 
    /**
     * 支付单号
     */
    @TableField(value = "pay_no")
    private String payNo;
 
    /**
     * 微信交易号
     */
    @TableField(value = "wx_trade_no")
    private String wxTradeNo;
 
    /**
     * 支付状态(1.未支付  2.已支付)
     */
    @TableField(value = "pay_status")
    private Integer payStatus;
 
    /**
     * 订单金额
     */
    @TableField(value = "order_amount")
    private BigDecimal orderAmount;
 
    /**
     * 支付金额
     */
    @TableField(value = "pay_amount")
    private BigDecimal payAmount;
 
    /**
     * 支付时间
     */
    @TableField(value = "pay_time")
    private Date payTime;
 
    /**
     * 创建时间
     */
    @TableField(value = "create_at", fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 修改时间
     */
    @TableField(value = "update_at", fill = FieldFill.UPDATE)
    private Date updateAt;
 
    /**
     * 商家id
     */
    private Long storeId;
    /**
     * 配送方式(1.自提  2.快递)
     */
    private Integer deliveryType;
    /**
     * 原始订单id
     */
    private Long orderId;
    /**
     * 退款订单号
     */
    private String refundOrderNo;
    /**
     * 退款状态(1.处理中 2.退款成功 3.退款失败 4.已取消 5.退款中)
     */
    private Integer refundStatus;
    /**
     * 类型(1.支付 2.退款 3.取消)
     */
    private Integer payType;
 
    /**
     * 支付状态(1.未支付 2.已支付)
     */
    public interface payStatus {
        int no = 1;
        int yes = 2;
    }
 
    /**
     * 退款状态(1.处理中 2.退款成功 3.退款失败 4.已取消 5.退款中)
     */
    public interface refundStatus {
        int clz = 1;
        int tkcg = 2;
        int tksb = 3;
        int yqx = 4;
        int tkz = 5;
    }
 
    /**
     * 类型(1.支付 2.退款 3.取消)
     */
    public interface payType {
        int zf = 1;
        int tk = 2;
        int qx = 3;
    }
 
}