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

namespace XYY.Service.Standard.ChannelApi.DiTuo
{
    public class RequestPdfLabel
    {
        public string order_code { get; set; }
    }
    public class LabelsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string tracking_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string charge_weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string label_url { get; set; }
    }
    public class PdfLabelData
    {
        /// <summary>
        /// 
        /// </summary>
        public string reference_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string order_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string order_address_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int order_status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int order_sub_status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int order_waiting_status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sync_service_status { get; set; }
        /// <summary>
        /// 服务商下单失败-地址错误-邮编错误，请检查格式。
        /// </summary>
        public string logistics_err { get; set; }
        public List<LabelsItem> labels { get; set; }
    }

    public class PdfLabelResult
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public PdfLabelData result { get; set; }
        /// <summary>
        /// 订单预报中，请等待
        /// </summary>
        public string msg { get; set; }
    }

}
