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

namespace XYY.Service.Standard.ChannelApi.Ultidel
{
    public class ResponseBase
    {
        public int code { get; set; }
        public string message { get; set; }
        public string messageId { get; set; }
    }
    public class Response<T>: ResponseBase
    {
        public T data { get; set; }
    }


    public class SmallPackResult: Response<SmallPackResultBody>
    {

    }

    public class ErrorDetail
    {
        public string id { get; set; }
        public string message { get; set; }
    }

    public class SmallPackResultBody
    {
        //public List<ErrorDetail> errors { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string LMTrackingNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string opCenterCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string parcelLabel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sellerOrderNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string serviceCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sortingCode1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sortingCode2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sortingCode3 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string oprCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string packMethod { get; set; }
    }


    public class GetPackLabelResponseData
    {
        public string containerLabel1 { get; set; }
        public string containerLabel2 { get; set; }
        public string customerAccountID { get; set; }
        public string customerContainerTrackingID { get; set; }
        public string destinationPortCode { get; set; }
        public string destinationTurnOverCode { get; set; }
        public string serviceCode { get; set; }
        public long transmissionDateTime { get; set; }
        public string MMContainerTrackingID { get; set; }
    }

    public class GetPackLabelResponse:Response<GetPackLabelResponseData>
    {

    }
}
