SysLogOp.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Microsoft.Extensions.Logging;
  2. namespace Admin.NET.Core;
  3. /// <summary>
  4. /// 系统操作日志表
  5. /// </summary>
  6. [SugarTable("sys_log_op", "系统操作日志表")]
  7. public class SysLogOp : EntityBase
  8. {
  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. }