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

namespace XYY.Service.Standard.ChannelApi.PYD
{
    public class CreateOrderReponse
    {
        /// <summary>
        /// 状态码（200成功 其他失败）
        /// </summary>
        public string code { get; set; }

        public bool IsSuccess { get { return code == "200"; } }
        /// <summary>
        /// 提示信息
        /// </summary>
        public string msg { get; set; }
    }


    public class PackageLabelDetailList
    {
        /// <summary>
        /// 
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string childTrackNumber { get; set; }
    }

    public class LabelData
    {
        /// <summary>
        /// 
        /// </summary>
        public string labelUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<PackageLabelDetailList> packageDetailList { get; set; }
    }

    public class LabelResponse
    {
        /// <summary>
        /// 状态码（200成功 其他失败）
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 提示信息
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public LabelData data { get; set; }
    }

}
