package com.dy.pipIrrSell.virtualCard.dto; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Positive; import lombok.Data; /** * @author ZhuBaoMin * @date 2024-03-08 20:17 * @LastEditTime 2024-03-08 20:17 * @Description */ @Data @Schema(name = "用户退款传入对象") public class DtoRefund { public static final long serialVersionUID = 202403080858001L; /** * 虚拟卡编号 */ @Schema(description = "虚拟卡编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @NotNull(message = "虚拟卡编号不能为空") private Long virtualId; /** * 退款金额 */ @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @NotNull(message = "退款金额不能为空") @Positive(message = "充值金额必须为大于0的整数") private Integer refundAmount; }