
namespace RB_MES_APICore.Models.Responses
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ResultData<T> where T : new()
    {
        public ResultData()
        {
            Data = new T();
        }

        /// <summary>
        /// 
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public T Data { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Message { get; set; } = string.Empty;
    }

    /// <summary>
    /// 
    /// </summary>
    public class ResultData : ResultData<ResultMsg>
    {

    }



}
