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

namespace XYY.Data.Model.Standard.Tracking._17
{
    public class _17ApiPushItem
    {
        public string number
        {
            get; set;
        }

        public string carrier
        {
            get; set;
        }

        public bool auto_detection
        {
            get; set;
        }

        public string tag
        {
            get; set;
        }
    }
    //如果好用，请收藏地址，帮忙分享。
    public class AcceptedItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int origin { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int carrier { get; set; }
    }

    public class Error
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string message { get; set; }
    }

    public class RejectedItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Error error { get; set; }
    }

    public class Data
    {
        /// <summary>
        /// 
        /// </summary>
        public List<AcceptedItem> accepted { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<RejectedItem> rejected { get; set; }
    }

    public class _17PushResult
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Data data { get; set; }
    }
    public class _17ApiGetCarrierResult
    {
        /// <summary>
        /// 
        /// </summary>
        public string key { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int _country { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string _url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string _name { get; set; }
        public string _group { get; set; }


    }
}

