平安校园
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.
 
 
 
 
 
 

62 lines
1.8 KiB

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