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

namespace XYY.Tool.TimingTask.Model
{
    [Serializable]
    public class ApiJsonModel
    {
        /// <summary>
        /// 错误码(0表示无错误)
        /// </summary>
        public HttpStatusCode code { get; set; }
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string error { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// Json数据
        /// </summary>
        public object data { get; set; }
    }
}
