/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.param;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "地址参数")
public class AddrParam {

    @ApiModelProperty(value = "地址ID", required = true)
    private Long addrId;

    @NotNull(message = "收货人不能为空")
    @ApiModelProperty(value = "收货人", required = true)
    private String receiver;

    @NotNull(message = "手机不能为空")
    @ApiModelProperty(value = "手机", required = true)
    private String mobile;

    @NotNull(message = "经度不能为空")
    @ApiModelProperty(value = "经度", required = true)
    private Double longitude;

    @NotNull(message = "维度不能为空")
    @ApiModelProperty(value = "维度", required = true)
    private Double latitude;

    @NotNull(message = "腾讯address不能为空")
    @ApiModelProperty(value = "address", required = true)
    private String address;

    @NotNull(message = "腾讯name不能为空")
    @ApiModelProperty(value = "addressName", required = true)
    private String addressName;

    @NotNull(message = "详细地址不能为空")
    @ApiModelProperty(value = "详细地址", required = true)
    private String addrDetail;


}
