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

namespace XYY.Service.Standard.ChannelApi.XinZhiHui
{
    #region 请求body
    public class TrackingNumbersBodyShipment
    {
        /// <summary>
        /// 
        /// </summary>
        public string shipment_id { get; set; }
    }

    public class TrackingNumbersBody
    {
        /// <summary>
        /// 
        /// </summary>
        public TrackingNumbersBodyShipment shipment { get; set; }
    }

    #endregion
    #region 返回结果
    public class TrackingNumbersParcelsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string item_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string carrier_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tracking_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string chargeable_weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string chargeable_length { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string chargeable_width { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string chargeable_height { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int picking_time { get; set; }
    }

    public class TrackingNumbersShipment
    {
        /// <summary>
        /// 
        /// </summary>
        public string shipment_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string carrier_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tracking_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<TrackingNumbersParcelsItem> parcels { get; set; }
    }

    public class TrackingNumbersResultData
    {
        /// <summary>
        /// 
        /// </summary>
        public TrackingNumbersShipment shipment { get; set; }
    }

    public class TrackingNumbersResult:TrackingNumbersResultBase
    {
        /// <summary>
        /// 
        /// </summary>
        public TrackingNumbersResultData data { get; set; }
    }
    public class TrackingNumbersResultBase {
        /// <summary>
        /// 0失败，1成功
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 请求成功的完成
        /// </summary>
        public string info { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int time { get; set; }
    }
    #endregion

}
