平安校园
 
 
 
 
 
 

52 lines
1.8 KiB

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