Administrator
2025-04-22 c4a0a66f61e1ccfefb0793fba5a9b62ccb7818ae
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
package cc.mrbird.febs.mall.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
@Data
@ApiModel(value = "ApiConnectSaveDto", description = "参数")
public class ApiConnectSaveDto {
 
    @NotNull(message = "ID不能为空")
    @ApiModelProperty(value = "ID", example = "丽丽")
    private Long id;
 
    @NotBlank(message = "姓名不可为空")
    @ApiModelProperty(value = "姓名", example = "丽丽")
    private String name;
 
    @NotBlank(message = "电话不可为空")
    @ApiModelProperty(value = "电话", example = "丽丽")
    private String phone;
 
    @NotBlank(message = "地址不可为空")
    @ApiModelProperty(value = "地址", example = "丽丽")
    private String address;
}