zuoxiao
5 天以前 cc21e79cd80345b97cc899ddff02c962d4f432fc
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
package com.dy.pipIrrGlobal.pojoSe;
 
import com.alibaba.fastjson2.annotation.JSONField;
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dy.common.po.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.*;
 
import java.util.Date;
 
/**
 * @author ZhuBaoMin
 * @date 2024-03-10 21:05
 * @LastEditTime 2024-03-10 21:05
 * @Description
 */
 
@TableName(value="se_vc_refund_item", autoResultMap = true)
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "虚拟卡退款分项实体")
public class SeVcRefundItem implements BaseEntity {
    public static final long serialVersionUID = 202403102108001L;
 
    /**
     * 主键
     */
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    @TableId(type = IdType.INPUT)
    @Schema(description = "实体id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Long id;
 
    /**
     * 退款ID
     */
    @Schema(description = "退款ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "退款ID不能为空")
    private Long refundId;
 
    /**
     * 订单号;12位农户好+17位时间戳
     */
    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotBlank(message = "订单号不能为空")
    private String orderNumber;
 
    /**
     * 退款单号;12位农户号+17位时间戳+2位数量
     */
    @Schema(description = "退款单号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotBlank(message = "退款单号不能为空")
    private String refundNumber;
 
    /**
     * 退款金额;与订单对应的退款金额
     */
    @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "退款金额不能为空")
    private Integer refundAmount;
 
    /**
     * 退款单创建时间
     */
    @Schema(description = "退款单创建时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "退款单创建时间不能为空")
    private Date createTime;
 
    /**
     * 退款完成时间
     */
    @Schema(description = "退款完成时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Date refundTime;
 
    /**
     * 退款状态;1-未退款,2-已退款
     */
    @Schema(description = "退款状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Byte refundStatus;
 
}