using SqlSugar; using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Magic.Core.Entity; /// /// 异常日志 /// [SugarTable("sys_log_ex")] [Description("异常日志")] public class SysLogEx : AutoIncrementEntity { /// /// 操作人 /// [MaxLength(20)] [SugarColumn(ColumnDescription = "操作人", IsNullable = true)] public string Account { get; set; } /// /// 名称 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "名称", IsNullable = true)] public string Name { get; set; } /// /// 类名 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "类名", IsNullable = true)] public string ClassName { get; set; } /// /// 方法名 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "方法名", IsNullable = true)] public string MethodName { get; set; } /// /// 异常名称 /// [SugarColumn(ColumnDescription = "异常名称", IsNullable = true)] public string ExceptionName { get; set; } /// /// 异常信息 /// [SugarColumn(ColumnDescription = "异常信息", IsNullable = true)] public string ExceptionMsg { get; set; } /// /// 异常源 /// [SugarColumn(ColumnDescription = "异常源", IsNullable = true)] public string ExceptionSource { get; set; } /// /// 堆栈信息 /// [SugarColumn(ColumnDescription = "堆栈信息", IsNullable = true)] public string StackTrace { get; set; } /// /// 参数对象 /// [SugarColumn(ColumnDescription = "参数对象", IsNullable = true)] public string ParamsObj { get; set; } /// /// 异常时间 /// [SugarColumn(ColumnDescription = "异常时间", IsNullable = true)] public DateTime ExceptionTime { get; set; } }