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

namespace XYY.Service.Standard.ChannelApi.CaiNiao
{
    public class PdfLabelRequest
    {
        /// <summary>
        /// 
        /// </summary>
        public string waybillType { get; set; } = "1";
        /// <summary>
        /// 
        /// </summary>
        public string orderCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string locale { get; set; } = "zh_CN";
    }
    public class PdfLabelData
    {
        /// <summary>
        /// 
        /// </summary>
        public string distributionWarehouse { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string laneName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string waybillPdfData { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string laneCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackingNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string laneLastMileCP { get; set; }
    }

    public class PdfLabelResult
    {
        /// <summary>
        /// 
        /// </summary>
        public PdfLabelData data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string errorCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string needRetry { get; set; }
        /// <summary>
        /// 系统异常
        /// </summary>
        public string errorMsg { get; set; }
    }

}
