| 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 com.fasterxml.jackson.annotation.JsonFormat; | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import jakarta.validation.constraints.NotNull; | 
| import lombok.*; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-03-08 11:06 | 
|  * @LastEditTime 2024-03-08 11:06 | 
|  * @Description | 
|  */ | 
|   | 
| @TableName(value="se_vc_refund", autoResultMap = true) | 
| @Data | 
| @Builder | 
| @ToString | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| @Schema(name = "虚拟卡退款实体") | 
| public class SeVcRefund implements BaseEntity { | 
|     public static final long serialVersionUID = 202403081109001L; | 
|   | 
|     /** | 
|     * 主键 | 
|     */ | 
|     @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 vcId; | 
|   | 
|     /** | 
|     * 农户ID | 
|     */ | 
|     @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "农户ID不能为空") | 
|     private Long clientId; | 
|   | 
|     /** | 
|     * 虚拟卡余额,退款通知后更新余额 | 
|     */ | 
|     @Schema(description = "虚拟卡余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double money; | 
|   | 
|     /** | 
|     * 退款金额 | 
|     */ | 
|     @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "退款金额不能为空") | 
|     private Integer refundAmount; | 
|   | 
|     /** | 
|     * 退款后余额 | 
|     */ | 
|     @Schema(description = "退款后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|     private Double afterRefund; | 
|   | 
|     /** | 
|     * 申请时间 | 
|     */ | 
|     @Schema(description = "申请时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "申请时间不能为空") | 
|     private Date applicationTime; | 
|   | 
|     /** | 
|     * 审核人 | 
|     */ | 
|     @Schema(description = "审核人", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private Long auditor; | 
|   | 
|     /** | 
|     * 审核时间 | 
|     */ | 
|     @Schema(description = "审核时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private Date auditTime; | 
|   | 
|     /** | 
|     * 审核备注 | 
|     */ | 
|     @Schema(description = "审核备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private String remarks; | 
|   | 
|     /** | 
|     * 退款单号;12位农户号+17位时间戳+2位数量 | 
|     */ | 
|     @Schema(description = "退款单号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private String refundNumber; | 
|   | 
|     /** | 
|     * 退款完成时间 | 
|     */ | 
|     @Schema(description = "退款完成时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private Date refundTime; | 
|   | 
|     /** | 
|     * 退款状态;1-待审核,2-待退款,3-已退款 | 
|     */ | 
|     @Schema(description = "退款状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private Byte refundStatus; | 
|   | 
| } |