SysOperLog.java 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. package com.ruoyi.system.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.annotation.Excel.ColumnType;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. /**
  8. * 操作日志记录表 oper_log
  9. *
  10. * @author ruoyi
  11. */
  12. public class SysOperLog extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** 日志主键 */
  16. @Excel(name = "操作序号", cellType = ColumnType.NUMERIC)
  17. private Long operId;
  18. /** 操作模块 */
  19. @Excel(name = "操作模块")
  20. private String title;
  21. /** 业务类型(0其它 1新增 2修改 3删除) */
  22. @Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
  23. private Integer businessType;
  24. /** 业务类型数组 */
  25. private Integer[] businessTypes;
  26. /** 请求方法 */
  27. @Excel(name = "请求方法")
  28. private String method;
  29. /** 请求方式 */
  30. @Excel(name = "请求方式")
  31. private String requestMethod;
  32. /** 操作类别(0其它 1后台用户 2手机端用户) */
  33. @Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
  34. private Integer operatorType;
  35. /** 操作人员 */
  36. @Excel(name = "操作人员")
  37. private String operName;
  38. /** 部门名称 */
  39. @Excel(name = "部门名称")
  40. private String deptName;
  41. /** 请求url */
  42. @Excel(name = "请求地址")
  43. private String operUrl;
  44. /** 操作地址 */
  45. @Excel(name = "操作地址")
  46. private String operIp;
  47. /** 操作地点 */
  48. @Excel(name = "操作地点")
  49. private String operLocation;
  50. /** 请求参数 */
  51. @Excel(name = "请求参数")
  52. private String operParam;
  53. /** 返回参数 */
  54. @Excel(name = "返回参数")
  55. private String jsonResult;
  56. /** 操作状态(0正常 1异常) */
  57. @Excel(name = "状态", readConverterExp = "0=正常,1=异常")
  58. private Integer status;
  59. /** 错误消息 */
  60. @Excel(name = "错误消息")
  61. private String errorMsg;
  62. /** 操作时间 */
  63. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  64. @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  65. private Date operTime;
  66. }