package com.sckw.transport.model.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author lfdc
 * @description 物流订单自建订单v4.2
 * @date 2024-03-05 09:03:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateLogisticsAddressParam implements Serializable {

    @Schema(description = "地址id")
    private Long id;

    @Schema(description = "地址名称")
    private String name;
    @Schema(description = "地址类型 （1装货地址、2卸货地址）")
    private String addressType;
    @Schema(description = "类型")
    private String type;

    /**
     * 联系人姓名
     */
    @Schema(description = "联系人姓名")
    private String contacts;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String phone;

    /**
     * 所在地区
     */
    @Schema(description = "所在地区")
    private Integer cityCode;

    /**
     * 所属区域名称
     */
    @Schema(description = "所属区域名称")
    private String cityName;

    /**
     * 详细地址
     */
    @Schema(description = "详细地址")
    private String detailAddress;

}
