using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;

namespace RFrameGenerate.Model.APIModel
{
    public abstract class IMessage
    {
        /// <summary>
        /// 返回状态码（成功:200 失败:300 其它的需要自定义,并写入文档）
        /// </summary>
        public int ReturnCode { get; set; }
        /// <summary>
        /// 返回失败原因,成功是为空
        /// </summary>
        public string FailReason { get; set; }
        /// <summary>
        /// 响应时间
        /// </summary>
        public string ResponseDate { get { return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); } }
    }
}