SysLogEx.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 = 100)]
  12. [MaxLength(100)]
  13. public string ClassName { get; set; }
  14. /// <summary>
  15. /// 方法名
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "方法名", Length = 100)]
  18. [MaxLength(100)]
  19. public string MethodName { get; set; }
  20. /// <summary>
  21. /// 异常名称
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "异常名称", ColumnDataType = "text")]
  24. public string ExceptionName { get; set; }
  25. /// <summary>
  26. /// 异常信息
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "异常信息", ColumnDataType = "text")]
  29. public string ExceptionMsg { get; set; }
  30. /// <summary>
  31. /// 异常源
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "异常源", ColumnDataType = "text")]
  34. public string ExceptionSource { get; set; }
  35. /// <summary>
  36. /// 堆栈信息
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "堆栈信息", ColumnDataType = "text")]
  39. public string StackTrace { get; set; }
  40. /// <summary>
  41. /// 参数对象
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "参数对象", ColumnDataType = "text")]
  44. public string ParamsObj { get; set; }
  45. /// <summary>
  46. /// 账号名称
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "账号名称", Length = 20)]
  49. [MaxLength(20)]
  50. public string UserName { get; set; }
  51. /// <summary>
  52. /// 真实姓名
  53. /// </summary>
  54. [SugarColumn(ColumnDescription = "真实姓名", Length = 20)]
  55. [MaxLength(20)]
  56. public string RealName { get; set; }
  57. }