using HuanMeng.DotNetCore.Base;

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

namespace CloudGaming.DtoModel.JY
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class JYApiResponse<T> : JYResponseCode<T>, IJYApiRespnse where T : class, new()
    {
        /// <summary>
        /// 请求信息
        /// </summary>
        public string RequestStr { get; set; }
        /// <summary>
        /// 响应信息
        /// </summary>
        public string ResponseStr { get; set; }

        /// <summary>
        /// 返回内容
        /// </summary>
        public string ResponseContent { get; set; }

        /// <summary>
        /// 请求耗时
        /// </summary>
        public string TotalMilliseconds { get; set; }
    }

    public interface IJYApiRespnse
    {
        /// <summary>
        /// 请求信息
        /// </summary>
        string RequestStr { get; set; }
        /// <summary>
        /// 响应信息
        /// </summary>
        string ResponseStr { get; set; }

        /// <summary>
        /// 返回内容
        /// </summary>
        string ResponseContent { get; set; }

        /// <summary>
        /// 请求耗时
        /// </summary>
        string TotalMilliseconds { get; set; }

    }
}
