平安校园
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

53 行
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. [IgnoreInitTable]
  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. }