SysOperLog.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. package com.ruoyi.system.domain;
  2. import com.baomidou.mybatisplus.annotation.TableId;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import lombok.Data;
  5. import java.io.Serial;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. /**
  9. * 操作日志记录表 oper_log
  10. *
  11. * @author Lion Li
  12. */
  13. @Data
  14. @TableName("sys_oper_log")
  15. public class SysOperLog implements Serializable {
  16. @Serial
  17. private static final long serialVersionUID = 1L;
  18. /**
  19. * 日志主键
  20. */
  21. @TableId(value = "oper_id")
  22. private Long operId;
  23. /**
  24. * 租户编号
  25. */
  26. private String tenantId;
  27. /**
  28. * 操作模块
  29. */
  30. private String title;
  31. /**
  32. * 业务类型(0其它 1新增 2修改 3删除)
  33. */
  34. private Integer businessType;
  35. /**
  36. * 请求方法
  37. */
  38. private String method;
  39. /**
  40. * 请求方式
  41. */
  42. private String requestMethod;
  43. /**
  44. * 操作类别(0其它 1后台用户 2手机端用户)
  45. */
  46. private Integer operatorType;
  47. /**
  48. * 操作人员
  49. */
  50. private String operName;
  51. /**
  52. * 部门名称
  53. */
  54. private String deptName;
  55. /**
  56. * 请求url
  57. */
  58. private String operUrl;
  59. /**
  60. * 操作地址
  61. */
  62. private String operIp;
  63. /**
  64. * 操作地点
  65. */
  66. private String operLocation;
  67. /**
  68. * 请求参数
  69. */
  70. private String operParam;
  71. /**
  72. * 返回参数
  73. */
  74. private String jsonResult;
  75. /**
  76. * 操作状态(0正常 1异常)
  77. */
  78. private Integer status;
  79. /**
  80. * 错误消息
  81. */
  82. private String errorMsg;
  83. /**
  84. * 操作时间
  85. */
  86. private Date operTime;
  87. /**
  88. * 消耗时间
  89. */
  90. private Long costTime;
  91. }