namespace Atomx.Utils.Models
{
    public class Result<T>
    {
        /// <summary>
        /// 数据
        /// </summary>
        public T? Data { get; set; }

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

        /// <summary>
        /// 业务代码
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 业务是否成功
        /// </summary>
        public bool Success { get; set; }
    }
}
