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
package com.dy.pipIrrSell.virtualCard.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-04-22 9:53
 * @LastEditTime 2024-04-22 9:53
 * @Description
 */
 
@Data
@Schema(name = "注册虚拟卡传入对象")
public class DtoRegist {
    public static final long serialVersionUID = 202404220954001L;
 
    /**
     * 农户ID
     */
    @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "农户ID不能为空")
    private Long clientId;
 
    /**
     * 虚拟卡名称
     */
    @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotBlank(message = "虚拟卡名称不能为空")
    private String vcName;
}