Administrator
2024-04-23 d010e8d1dd18103683e92c44a295ea6272561ea5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
}