| package com.dy.pipIrrWechat.wechatpay.dto; | 
|   | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import jakarta.validation.constraints.NotBlank; | 
| import jakarta.validation.constraints.NotNull; | 
| import lombok.Data; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-07-15 10:28 | 
|  * @LastEditTime 2024-07-15 10:28 | 
|  * @Description | 
|  */ | 
|   | 
| @Data | 
| @Schema(name = "退款请求对象") | 
| public class Refund { | 
|     public static final long serialVersionUID = 202403011607001L; | 
|   | 
|     /** | 
|      * 商户订单号 | 
|      */ | 
|     @Schema(description = "商户订单号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotBlank(message = "商户订单号不能为空") | 
|     private String tradeNo; | 
|   | 
|     /** | 
|      * 退款单号 | 
|      */ | 
|     @Schema(description = "退款单号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     private String refundNo; | 
|   | 
|     /** | 
|      * 退款金额 | 
|      */ | 
|     @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "退款金额不能为空") | 
|     private Integer refund; | 
| } |