平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SysLogOperate.cs 1.8 KiB

4 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 操作日志表
  6. ///</summary>
  7. [SugarTable("sys_log_operate_{year}{month}{day}", TableDescription = "操作日志表")]
  8. [Tenant(SqlSugarConst.DB_DEFAULT)]
  9. public class SysLogOperate : SysLogVisit
  10. {
  11. /// <summary>
  12. /// 具体消息
  13. ///</summary>
  14. [SugarColumn(ColumnName = "ExeMessage", ColumnDescription = "具体消息", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  15. public string ExeMessage { get; set; }
  16. /// <summary>
  17. /// 类名称
  18. ///</summary>
  19. [SugarColumn(ColumnName = "ClassName", ColumnDescription = "类名称", Length = 200)]
  20. public string ClassName { get; set; }
  21. /// <summary>
  22. /// 方法名称
  23. ///</summary>
  24. [SugarColumn(ColumnName = "MethodName", ColumnDescription = "方法名称", Length = 200)]
  25. public string MethodName { get; set; }
  26. /// <summary>
  27. /// 请求方式
  28. ///</summary>
  29. [SugarColumn(ColumnName = "ReqMethod", ColumnDescription = "请求方式", Length = 200, IsNullable = true)]
  30. public string ReqMethod { get; set; }
  31. /// <summary>
  32. /// 请求地址
  33. ///</summary>
  34. [SugarColumn(ColumnName = "ReqUrl", ColumnDescription = "请求地址", ColumnDataType = StaticConfig.CodeFirst_BigString)]
  35. public string ReqUrl { get; set; }
  36. /// <summary>
  37. /// 请求参数
  38. ///</summary>
  39. [SugarColumn(ColumnName = "ParamJson", ColumnDescription = "请求参数", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  40. public string ParamJson { get; set; }
  41. /// <summary>
  42. /// 返回结果
  43. ///</summary>
  44. [SugarColumn(ColumnName = "ResultJson", ColumnDescription = "返回结果", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  45. public string ResultJson { get; set; }
  46. }