using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYY.Service.Standard.ChannelApi.JD
{
    public class performanceItemDTO
    {
        public string name { get; set; }
        public string value { get; set; }
    }

    public class PerformanceAspDTO
    {
        public string code { get; set; }
        public string name { get; set; }
        public List<performanceItemDTO> itemList { get; set; }
    }

    public class PerformanceSpDTO
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        public string name { get; set; }
        //public List<PerformanceAspDTO> aspList { get; set; }
    }

    public class WaybillWareDTO
    {
        public string customerPackCode { get; set; }
        public string goodsCode { get; set; }
        public string goodsName { get; set; }
        public string goodsNameEn { get; set; }
        public string hsCode { get; set; }
        //public string declarationValue { get; set; }
        public string sourceCountry { get; set; }
        public int goodsCount { get; set; }
        public decimal worth { get; set; }
        public string currency { get; set; }
    }

    public class WaybillPackDTO
    {
        /// <summary>
        /// 
        /// </summary>
        public string customerPackCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public decimal forecastHeight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public decimal forecastLength { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public decimal forecastWidth { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public int lengthUnit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<WaybillWareDTO> waybillWareList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int weightUnit { get; set; }
        public decimal buWeight { get; set; }
        //public string trackingNo { get; set; }
    }

    public class WaybillDTO
    {
        public string customerCode { get; set; }
        public string sellerId { get; set; }
        public string storeId { get; set; }
        public string invokeType { get; set; }
        public string customerWaybillNo { get; set; }
        public string orderCode { get; set; }
        public int billType { get; set; }
        public string salesPlatform { get; set; }
        //public string ecCode { get; set; }
        //public string entryPort { get; set; }
        //public string storeCode { get; set; }
        //public string serviceBillCode { get; set; }
        public int packageIden { get; set; } = 1;
        //public DateTime? sendTime { get; set; }
        public int packageCount { get; set; }
        //public decimal? packageForcastWeight { get; set; }
        //public int? pickupType { get; set; }
        //public string pickupRemark { get; set; }
        //public string customerRemark { get; set; }
        public int isDiscard { get; set; } = 1;
        public string senderName { get; set; }
        public string senderCompanyNameEn { get; set; }
        public string senderCountry { get; set; }
        public string senderProvince { get; set; }
        public string senderCity { get; set; }
        public string senderCounty { get; set; }
        public string senderTown { get; set; }
        public string senderAddress { get; set; }
        //public string senderAddress2 { get; set; }
        //public string senderAddress3 { get; set; }
        public string senderPhone { get; set; }
        public string senderTel { get; set; }
        //public string senderMail { get; set; } = "gaozhuo@liangmijiu.cn";
        public string senderZipCode { get; set; }
        public string houseNumber { get; set; }
        public string receiverName { get; set; }
        //public string receiverCompanyNameEn { get; set; }
        public string receiverCountry { get; set; }
        public string receiverProvince { get; set; }
        public string receiverCity { get; set; }
        //public string receiverCounty { get; set; }
        //public string receiverTown { get; set; }
        public string receiverAddress { get; set; }
        public string receiverAddress2 { get; set; }
        //public string receiverAddress3 { get; set; }
        public string receiverPhone { get; set; }
        public string receiverTel { get; set; }
        public string receiverMail { get; set; }
        public string receiverZipCode { get; set; }

        public int createType { get; set; } = 1;
        //public int distributionMode { get; set; }
        //public int declarationType { get; set; }
        //public string tradeTerms { get; set; }
        //public int fileType { get; set; }
        //public string selfPickUpCode { get; set; }
        //public string selfPickUpName { get; set; }
        //public string vatNumber { get; set; }
        //public string iossNumber { get; set; }
        //public string eoriNUmber { get; set; }
        public List<WaybillPackDTO> waybillPackDTOList { get; set; }
        public List<PerformanceSpDTO> performanceSpDTOList { get; set; }



    }



}
