package com.prolog.cs.biz.inbound.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.prolog.cs.biz.inbound.model.OmsAsnBillD;
import com.prolog.cs.biz.inbound.model.OmsAsnBillH;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @program: upcloud-base-wh-inbound
 * @description:
 * @author: Huanglh
 * @create: 2021-12-21 14:41
 **/
@ApiModel
@Data
public class ReceiveAsnDTO {
    @ApiModelProperty(value = "入库仓库编号 --CQN001")
    private String branchCode;

    @ApiModelProperty(value = "入库仓库名称 --青牛仓")
    private String branchName;

    @ApiModelProperty(value = "货主编码 --HQN001")
    private String consignorCode;

    @ApiModelProperty(value = "货主名称 --青牛")
    private String consignorName;

    @ApiModelProperty(value = "ASN单号")
    private String billNo;

    @ApiModelProperty(value = "ASN单类型")
    private String billType;

    @ApiModelProperty(value = "ASN单来源单据类型")
    private String refBillType;

    @ApiModelProperty(value = "来源单据号")
    private String refBillNo;

    @ApiModelProperty(value = "发货单位类型 1 客户 2 供应商 3 发货仓库")
    private String shipperType;

    @ApiModelProperty(value = "发货单位编号(根据类型来)")
    private String shipperCode;

    @ApiModelProperty(value = "运输条件")
    private String shipTerm;

    @ApiModelProperty(value = "到货方式")
    private String arrivalMode;

    @ApiModelProperty(value = "订单紧急等级")
    private String priorityLevel;

    @ApiModelProperty(value = "送货人联系方式")
    private String delivererContactTel;

    @ApiModelProperty(value = "运输路线ID")
    private String shipLineId;

    @ApiModelProperty(value = "承运商ID")
    private String carrierCode;

    @ApiModelProperty(value = "承运商名称")
    private String carrierName;

    @ApiModelProperty(value = "采购员名称")
    private String buyerName;

    @ApiModelProperty(value = "采购员联系电话")
    private String buyerTel;

    @ApiModelProperty(value = "制单日期")
    private String billDate;

    @ApiModelProperty(value = "预定到货日")
    private String attainDate;

    @ApiModelProperty(value = "审核状态")
    private String examineState;

    @ApiModelProperty(value = "作废原因")
    private String closedReason;

    @ApiModelProperty(value = "退货原因")
    private String rtReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "业务部门编码")
    private String purorgCode;

    @ApiModelProperty(value = "业务部门名称")
    private String purorgName;

    @ApiModelProperty(value = "运输方式")
    private String shippingType;

    @ApiModelProperty(value = "运输单位")
    private String transportUnit;

    @ApiModelProperty(value = "启运时间")
    private String shipmentDate;

    @ApiModelProperty(value = "发运地点")
    private String shipmentPlace;

    @ApiModelProperty(value = "在途时限")
    private String transitTime;

    @ApiModelProperty(value = "行业线")
    private String itemHealthIndustry;

    @ApiModelProperty(value = "单据状态 10创建 20修改 30取消")
    private String billState;

    @ApiModelProperty(value = "承运方")
    private String carrierUnit;

    @ApiModelProperty(value = "明细列表")
    List<ReceiveAsnDetailDTO> detailList;

    @ApiModelProperty(value = "监管码列表")
    List<ReceiveSupervisionDTO> supervisionList;

}
