liujie
1 天以前 4e0d6a8563aef0c9173bd5cbd791442c949f1da6
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
package com.ruoyi.system.model;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * <p>
 * erp采购
 * </p>
 *
 * @author xiaochen
 * @since 2025-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_erp_procurement")
@ApiModel(value="TErpProcurement对象", description="erp采购")
public class TErpProcurement implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
 
    @ApiModelProperty(value = "诊所id")
    @TableField("clinic_id")
    private String clinicId;
 
    @ApiModelProperty(value = "采购单号")
    @TableField("procurement_code")
    private String procurementCode;
 
    @ApiModelProperty(value = "支付金额")
    @TableField("pay_money")
    private BigDecimal payMoney;
 
    @ApiModelProperty(value = "支付单号")
    @TableField("pay_number")
    private String payNumber;
 
    @ApiModelProperty(value = "支付流水号")
    @TableField("pay_transaction_id")
        private String payTransactionId;
 
    @ApiModelProperty(value = "状态 1=草稿 2=待支付 3=待发货 4=已发货 5=已入库 6=已取消")
    @TableField("status")
    private Integer status;
 
    @ApiModelProperty(value = "发送时间")
    @TableField("send_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime sendTime;
 
 
    @ApiModelProperty(value = "入库操作人")
    private String warehousingUserId;
 
 
    @ApiModelProperty(value = "支付时间")
    @TableField("pay_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime payTime;
 
    @ApiModelProperty(value = "退款编号")
    @TableField("refund_no")
    private String refundNo;
 
    @ApiModelProperty(value = "退款时间")
    @TableField("refund_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime refundTime;
 
    @ApiModelProperty(value = "退款流水号")
    @TableField("refund_log_no")
    private String refundLogNo;
 
    @ApiModelProperty(value = "终端号")
    @TableField("term_no")
    private String termNo;
    @ApiModelProperty(value = "钱包类型")
    @TableField("account_type")
    private String accountType;
    @ApiModelProperty(value = "接入方式")
    @TableField("trans_type")
    private String transType;
 
    @ApiModelProperty(value = "分账指令流水号")
    @TableField("separate_no")
    private String separateNo;
 
    @ApiModelProperty(value = "商户分账指令流水号")
    @TableField("out_separate_no")
    private String outSeparateNo;
 
    @ApiModelProperty(value = "平台得金额")
    @TableField("money")
    private BigDecimal money;
 
    @ApiModelProperty(value = "回退流水")
    @TableField("refund_out_separate_no")
    private String refundOutSeparateNo;
 
    @ApiModelProperty(value = "1未回退 2已回退")
    @TableField("refund_status")
    private Integer refundStatus;
 
    @ApiModelProperty(value = "供应商id")
    @TableField("supplier_id")
    private String supplierId;
 
 
    @ApiModelProperty(value = "商户号")
    @TableField("merchant_no")
    private String merchantNo;
 
    /**
     * 新增执行
     */
    @ApiModelProperty(value = "记录创建人,前端忽略")
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private String createBy;
 
    /**
     * 新增和更新执行
     */
    @ApiModelProperty(value = "记录修改人,前端忽略")
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    /**
     * 删除  未删除
     */
    @JsonIgnore
    @TableField("`disabled`")
    @TableLogic
    private Boolean disabled;
 
    @ApiModelProperty(value = "记录创建时间,前端忽略")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
 
    /**
     * 最后修改时间
     */
    @ApiModelProperty(value = "记录修改时间,前端忽略")
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
    /**
     * 新增执行
     */
    @ApiModelProperty(value = "记录创建人id,前端忽略")
    @TableField(value = "create_id", fill = FieldFill.INSERT)
    private String createId;
 
 
}