SysLogEx.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 = 200)]
  12. public string LogName { get; set; }
  13. /// <summary>
  14. /// 日志级别
  15. /// </summary>
  16. [SugarColumn(ColumnDescription = "日志级别", Length = 20)]
  17. public string LogLevel { get; set; }
  18. /// <summary>
  19. /// 事件Id
  20. /// </summary>
  21. [SugarColumn(ColumnDescription = "事件Id", ColumnDataType = "longtext,text,clob")]
  22. public string EventId { get; set; }
  23. /// <summary>
  24. /// 日志消息
  25. /// </summary>
  26. [SugarColumn(ColumnDescription = "日志消息", ColumnDataType = "longtext,text,clob")]
  27. public string Message { get; set; }
  28. /// <summary>
  29. /// 异常对象
  30. /// </summary>
  31. [SugarColumn(ColumnDescription = "异常对象", ColumnDataType = "longtext,text,clob")]
  32. public string Exception { get; set; }
  33. }