package com.dy.pipIrrSell.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-03-06 13:55
|
* @LastEditTime 2024-03-06 13:55
|
* @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;
|
}
|