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

namespace XYY.Service.Standard.ChannelApi.DiTuo
{
    public class RequestTokenModel {
        public string app_token { get; set; }
        public string app_key { get; set; }

    }

    public class User_info
    {
        /// <summary>
        /// 
        /// </summary>
        public int u_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string u_account { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string u_customer_code { get; set; }
    }

    public class TokenData
    {
        /// <summary>
        /// 
        /// </summary>
        public string access_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public User_info user_info { get; set; }
    }

    public class TokenModel
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public TokenData result { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string msg { get; set; }
    }
}
