package io.hmit.modules.serviceOrder.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 *
 * @author zsh 408538940@qq.com
 * @since 1.0.0 2021-05-06
 */
@Data
@ApiModel(value = "用户地址添加")
public class PensionConsigneeAddDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@TableId
	private Long id;

	@ApiModelProperty(value = "用户ID")
	private Long userId;

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

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

	@ApiModelProperty(value = "省份", required = true)
	private String consigneeProvince;

	@ApiModelProperty(value = "城市", required = true)
	private String consigneeCity;

	@ApiModelProperty(value = "区/县", required = true)
	private String consigneeDistrict;

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

	@ApiModelProperty(value = "邮编", required = true)
	private String consigneeZip;

	@ApiModelProperty(value = "是否为默认地址")
	private Integer ifDefault;

	@ApiModelProperty(value = "状态")
	private Integer status;

	public PensionConsigneeAddDTO() {
	}

	public PensionConsigneeAddDTO(Long userId, String consigneeName, String consigneeMobile, String consigneeProvince,
								  String consigneeCity, String consigneeDistrict, String consigneeAddress,
								  String consigneeZip, Integer ifDefault, Integer status) {
		this.userId = userId;
		this.consigneeName = consigneeName;
		this.consigneeMobile = consigneeMobile;
		this.consigneeProvince = consigneeProvince;
		this.consigneeCity = consigneeCity;
		this.consigneeDistrict = consigneeDistrict;
		this.consigneeAddress = consigneeAddress;
		this.consigneeZip = consigneeZip;
		this.ifDefault = ifDefault;
		this.status = status;
	}
}