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

namespace XYY.Service.Standard.ChannelApi.HuoYing
{
    public class PackageResultsItem
    {
        /// <summary>
        /// 快递面单 base64 码
        /// </summary>
        public string graphicImage { get; set; }
        /// <summary>
        /// 子转单号
        /// </summary>
        public string trackingNumber { get; set; }
    }

    public class DataItem
    {
        /// <summary>
        /// 订单系统返回状态描述
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string qdapi { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal yjf_weit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rowqty { get; set; }
        /// <summary>
        /// 订单系统返回状态代号：成功返回 1，失败返回 0
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 系统订单号：请记录，后续有些接口需要用到
        /// </summary>
        public string orderno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal ddweit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal pmqty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string orderId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal ysj_weit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string labelType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal ccpvalue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal zpqty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal jcnt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal ycz_weit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string postno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal ycbm_qty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal ccvalue { get; set; }
        /// <summary>
        /// 主转单号
        /// </summary>
        public string trackingNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string expno { get; set; }
        /// <summary>
        /// 运单号
        /// </summary>
        public string packno { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<PackageResultsItem> packageResults { get; set; }
    }

    public class DataUploadResult
    {
        /// <summary>
        /// 返回状态代号：成功返回 1，失败返回 0
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 失败时 空
        /// </summary>
        public List<DataItem> data { get; set; }
        /// <summary>
        /// 返回状态描述
        /// </summary>
        public string msg { get; set; }
    }

}
