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

namespace XYY.Service.Standard.ChannelApi.YiHaiTong
{
    public class ProductItemDtos
    {
        /// <summary>
        /// 
        /// </summary>
        public string nameCn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nameEn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int quantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal cargoValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hsCode { get; set; }
    }

    public class SendContact
    {
        /// <summary>
        /// 小辉哥
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 小辉哥火锅
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string postCode { get; set; }
        /// <summary>
        /// 中国
        /// </summary>
        public string countryName { get; set; }
        /// <summary>
        /// 上海
        /// </summary>
        public string provinceName { get; set; }
        /// <summary>
        /// 浦东新区
        /// </summary>
        public string cityName { get; set; }
        /// <summary>
        /// 源深路
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 118 号
        /// </summary>
        public string address2 { get; set; }
    }

    public class OtherInformationDto
    {
        /// <summary>
        /// 
        /// </summary>
        public string companyId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool hasPickUpService { get; set; }
        /// <summary>
        /// 深圳市
        /// </summary>
        public string arrivalPlace { get; set; }
        /// <summary>
        /// 中英小包
        /// </summary>
        public string deliveryWay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string refNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string domesticMailNo { get; set; }
    }

    public class ReceiveContact
    {
        /// <summary>
        /// 收件人 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 收件人公司
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string postCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string countryName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string provinceName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cityName { get; set; }
        /// <summary>
        /// 详细地址 1
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 详细地址 2
        /// </summary>
        public string address2 { get; set; }
    }

    public class CreateOrderData
    {
        /// <summary>
        /// 
        /// </summary>
        public string customerOrderId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool hasBattery { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal totalCargoValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal totalWeight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int length { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int width { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int height { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ProductItemDtos> productItemDtos { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SendContact sendContact { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OtherInformationDto otherInformationDto { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ReceiveContact receiveContact { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string paymentMethod { get; set; }
    }

    public class CreateOrderRoot
    {
        /// <summary>
        /// 国际专线对接
        /// </summary>
        public string userId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string userToKen { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dataDigest { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<CreateOrderData> data { get; set; }
    }

}
