xiaoyong931011
2021-09-22 d8c97392354a6b6d14efbdd4a73ee0148609bef8
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
35
36
37
38
39
40
41
42
43
44
package cc.mrbird.febs.mall.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
 
/**
 * @author wzy
 * @date 2021-09-18
 **/
@Data
@ApiModel(value = "AddressInfoDto", description = "地址接收参数类")
public class AddressInfoDto {
 
    @ApiModelProperty(value = "id", example = "编辑的时候传")
    private Long id;
 
    @NotBlank(message = "参数不能为空")
    @ApiModelProperty(value = "姓名", example = "王")
    private String name;
 
    @NotBlank(message = "参数不能为空")
    @ApiModelProperty(value = "手机号", example = "15773001234")
    private String phone;
 
    @NotBlank(message = "参数不能为空")
    @ApiModelProperty(value = "地区", example = "北京市朝阳区")
    private String area;
 
    @NotBlank(message = "参数不能为空")
    @ApiModelProperty(value = "地址", example = "朝阳街道110栋119号")
    private String address;
 
    @ApiModelProperty(value = "经度", example = "112.12345678")
    private String longitude;
 
    @ApiModelProperty(value = "纬度", example = "87.12345678")
    private String latitude;
 
    @ApiModelProperty(value = "是否默认", example = "1是2否")
    private Integer isDefault;
}