p-honggang.li
2025-08-20 fefed50bf97060a82aabd09e090fa08ce532532f
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
package com.webmanage.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 订单信息实体
 * 
 * @author webmanage
 * @date 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("order_info")
public class OrderInfo implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 订单编号
     */
    @TableId(value = "order_id", type = IdType.INPUT)
    private String orderId;
 
    /**
     * 产品ID
     */
    @TableField("product_id")
    private Long productId;
 
    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;
 
    /**
     * 单位ID
     */
    @TableField("unit_id")
    private Long unitId;
 
    /**
     * 产品名称
     */
    @TableField("product_name")
    private String productName;
 
    /**
     * 产品提供者名称
     */
    @TableField("provider_name")
    private String providerName;
 
    /**
     * 提供者ID
     */
    @TableField("provider_id")
    private Long providerId;
 
    /**
     * 申请时间
     */
    @TableField("apply_time")
    private LocalDateTime applyTime;
 
    /**
     * 订单状态
     */
    @TableField("order_status")
    private String orderStatus;
 
    /**
     * 订单总金额
     */
    @TableField("total_amount")
    private BigDecimal totalAmount;
 
    /**
     * 支付方式
     */
    @TableField("payment_type")
    private String paymentType;
 
    /**
     * 支付状态
     */
    @TableField("payment_status")
    private String paymentStatus;
 
    /**
     * 工作流ID
     */
    @TableField("workflow_id")
    private String workflowId;
 
    /**
     * 当前审批步骤
     */
    @TableField("current_step")
    private String currentStep;
 
    /**
     * 审批流程配置
     */
    @TableField("approval_flow")
    private String approvalFlow;
 
    /**
     * 买家备注
     */
    @TableField("buyer_remarks")
    private String buyerRemarks;
 
    /**
     * 卖家备注
     */
    @TableField("seller_remarks")
    private String sellerRemarks;
 
    /**
     * 创建时间
     */
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
 
    /**
     * 更新时间
     */
    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
 
    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField("deleted")
    private Integer deleted;
}