using System;

namespace CncModels.Entity
{
    /// <summary>
    /// log_system 系统日志表
    /// </summary>
    public class SystemLog
    {
        /// <summary>主键ID</summary>
        public long Id { get; set; }

        /// <summary>日志等级</summary>
        public string LogLevel { get; set; }

        /// <summary>来源</summary>
        public string Source { get; set; }

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

        /// <summary>堆栈信息</summary>
        public string StackTrace { get; set; }

        /// <summary>扩展数据（JSON 字符串）</summary>
        public string ExtraData { get; set; }

        /// <summary>创建时间</summary>
        public DateTime CreatedAt { get; set; }
    }
}
