| 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; | 
|   | 
| } |