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

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

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserAddrDto implements Serializable {
    @ApiModelProperty(value = "地址id", required = true)
    private Long addrId;

    @ApiModelProperty(value = "收货人", required = true)
    private String receiver;


    @ApiModelProperty(value = "手机", required = true)
    private String mobile;

    @ApiModelProperty(value = "是否默认地址（1:是 0：否） ", required = true)
    private Integer commonAddr;


    private Double longitude;

    private Double latitude;

    @ApiModelProperty(value = "address", required = true)
    private String address;

    @ApiModelProperty(value = "addressName", required = true)
    private String addressName;

    @ApiModelProperty(value = "详细地址", required = true)
    private String addrDetail;

    private Double deliveryAmount;
}
