SysLogEx.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. namespace Admin.NET.Core;
  2. /// <summary>
  3. /// 系统异常日志表
  4. /// </summary>
  5. [SugarTable("sys_log_ex", "系统异常日志表")]
  6. public class SysLogEx : EntityBase
  7. {
  8. /// <summary>
  9. /// 日志名称
  10. /// </summary>
  11. [SugarColumn(ColumnDescription = "日志名称", Length = 256)]
  12. [MaxLength(256)]
  13. public string LogName { get; set; }
  14. /// <summary>
  15. /// 日志级别
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "日志级别", Length = 16)]
  18. [MaxLength(16)]
  19. public string LogLevel { get; set; }
  20. /// <summary>
  21. /// 事件Id
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "事件Id", ColumnDataType = "longtext,text,clob")]
  24. public string EventId { get; set; }
  25. /// <summary>
  26. /// 日志消息
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "日志消息", ColumnDataType = "longtext,text,clob")]
  29. public string Message { get; set; }
  30. /// <summary>
  31. /// 异常对象
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "异常对象", ColumnDataType = "longtext,text,clob")]
  34. public string Exception { get; set; }
  35. }