SysLogEx.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using Furion.DatabaseAccessor;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. namespace YBEE.EQM.Core
  7. {
  8. /// <summary>
  9. /// 异常日志
  10. /// </summary>
  11. [Comment("异常日志表")]
  12. public partial class SysLogEx : IEntity
  13. {
  14. /// <summary>
  15. /// 主键
  16. /// </summary>
  17. [Comment("主键")]
  18. [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  19. public long Id { get; set; }
  20. /// <summary>
  21. /// 操作人
  22. /// </summary>
  23. [Comment("操作人")]
  24. [StringLength(50)]
  25. public string Account { get; set; }
  26. /// <summary>
  27. /// 名称
  28. /// </summary>
  29. [Comment("名称")]
  30. [StringLength(100)]
  31. public string Name { get; set; }
  32. /// <summary>
  33. /// 类名
  34. /// </summary>
  35. [Comment("类名")]
  36. [StringLength(100)]
  37. public string ClassName { get; set; }
  38. /// <summary>
  39. /// 方法名
  40. /// </summary>
  41. [Comment("方法名")]
  42. [StringLength(100)]
  43. public string MethodName { get; set; }
  44. /// <summary>
  45. /// 异常名称
  46. /// </summary>
  47. [Comment("异常名称")]
  48. public string ExceptionName { get; set; }
  49. /// <summary>
  50. /// 异常信息
  51. /// </summary>
  52. [Comment("异常信息")]
  53. public string ExceptionMsg { get; set; }
  54. /// <summary>
  55. /// 异常源
  56. /// </summary>
  57. [Comment("异常源")]
  58. public string ExceptionSource { get; set; }
  59. /// <summary>
  60. /// 堆栈信息
  61. /// </summary>
  62. [Comment("堆栈信息")]
  63. public string StackTrace { get; set; }
  64. /// <summary>
  65. /// 参数对象
  66. /// </summary>
  67. [Comment("参数对象")]
  68. public string ParamsObj { get; set; }
  69. /// <summary>
  70. /// 异常时间
  71. /// </summary>
  72. [Comment("异常时间")]
  73. public DateTime? ExceptionTime { get; set; }
  74. }
  75. }