| package com.dy.pipIrrSell.cardOperate.dto; | 
|   | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import jakarta.validation.constraints.NotBlank; | 
| import jakarta.validation.constraints.NotNull; | 
| import lombok.*; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-01-19 20:43 | 
|  * @LastEditTime 2024-01-19 20:43 | 
|  * @Description | 
|  */ | 
|   | 
| @Data | 
| @Builder | 
| @ToString | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| @Schema(name = "补卡传入对象") | 
| public class DtoReissue { | 
|     public static final long serialVersionUID = 202401192044001L; | 
|     /** | 
|      * 水卡地址,仅保存,无业务 | 
|      */ | 
|     @Schema(description = "水卡地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotBlank(message = "水卡地址不能为空") | 
|     private String cardAddr; | 
|   | 
|     /** | 
|      * 水卡编号,不是开卡接口传入,由农户编号获得,充值需要 | 
|      */ | 
|     @Schema(description = "水卡编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "水卡编号不能为空") | 
|     private Long cardNum; | 
|   | 
|     /** | 
|      * 金额 | 
|      */ | 
|     //@Schema(description = "金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     //@Min(value = 0, message="金额不能小于0") | 
|     //private Float money; | 
|   | 
|     /** | 
|      * 卡片费用 | 
|      */ | 
|     @Schema(description = "卡片费用", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private Integer cardCost; | 
|   | 
|     /** | 
|      * 退还金额,补开卡时充值用 | 
|      */ | 
|     @Schema(description = "退还金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private Float reissueAmount; | 
|   | 
|     /** | 
|      * 支付方式编号 | 
|      */ | 
|     @Schema(description = "支付方式编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "支付方式不能为空") | 
|     private Long paymentId; | 
|   | 
|     /** | 
|      * 备注信息 | 
|      */ | 
|     @Schema(description = "备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private String remarks; | 
|   | 
|     /** | 
|      * 操作人编号 | 
|      */ | 
|     @Schema(description = "操作人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "操作人不能为空") | 
|     private Long operator; | 
| } |