SysOperLog.java 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. package com.ruoyi.system.domain;
  2. import java.util.Date;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import com.ruoyi.common.annotation.Excel;
  6. import com.ruoyi.common.annotation.Excel.ColumnType;
  7. import com.ruoyi.common.core.domain.BaseEntity;
  8. /**
  9. * 操作日志记录表 oper_log
  10. *
  11. * @author ruoyi
  12. */
  13. public class SysOperLog extends BaseEntity
  14. {
  15. private static final long serialVersionUID = 1L;
  16. /** 日志主键 */
  17. @TableId
  18. @Excel(name = "操作序号", cellType = ColumnType.NUMERIC)
  19. private Long operId;
  20. /** 操作模块 */
  21. @Excel(name = "操作模块")
  22. private String title;
  23. /** 业务类型(0其它 1新增 2修改 3删除) */
  24. @Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
  25. private Integer businessType;
  26. /** 业务类型数组 */
  27. private Integer[] businessTypes;
  28. /** 请求方法 */
  29. @Excel(name = "请求方法")
  30. private String method;
  31. /** 请求方式 */
  32. @Excel(name = "请求方式")
  33. private String requestMethod;
  34. /** 操作类别(0其它 1后台用户 2手机端用户) */
  35. @Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
  36. private Integer operatorType;
  37. /** 操作人员 */
  38. @Excel(name = "操作人员")
  39. private String operName;
  40. /** 部门名称 */
  41. @Excel(name = "部门名称")
  42. private String deptName;
  43. /** 请求url */
  44. @Excel(name = "请求地址")
  45. private String operUrl;
  46. /** 操作地址 */
  47. @Excel(name = "操作地址")
  48. private String operIp;
  49. /** 操作地点 */
  50. @Excel(name = "操作地点")
  51. private String operLocation;
  52. /** 请求参数 */
  53. @Excel(name = "请求参数")
  54. private String operParam;
  55. /** 返回参数 */
  56. @Excel(name = "返回参数")
  57. private String jsonResult;
  58. /** 操作状态(0正常 1异常) */
  59. @Excel(name = "状态", readConverterExp = "0=正常,1=异常")
  60. private Integer status;
  61. /** 错误消息 */
  62. @Excel(name = "错误消息")
  63. private String errorMsg;
  64. /** 操作时间 */
  65. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  66. @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  67. private Date operTime;
  68. /** 消耗时间 */
  69. @Excel(name = "消耗时间", suffix = "毫秒")
  70. private Long costTime;
  71. public Long getOperId()
  72. {
  73. return operId;
  74. }
  75. public void setOperId(Long operId)
  76. {
  77. this.operId = operId;
  78. }
  79. public String getTitle()
  80. {
  81. return title;
  82. }
  83. public void setTitle(String title)
  84. {
  85. this.title = title;
  86. }
  87. public Integer getBusinessType()
  88. {
  89. return businessType;
  90. }
  91. public void setBusinessType(Integer businessType)
  92. {
  93. this.businessType = businessType;
  94. }
  95. public Integer[] getBusinessTypes()
  96. {
  97. return businessTypes;
  98. }
  99. public void setBusinessTypes(Integer[] businessTypes)
  100. {
  101. this.businessTypes = businessTypes;
  102. }
  103. public String getMethod()
  104. {
  105. return method;
  106. }
  107. public void setMethod(String method)
  108. {
  109. this.method = method;
  110. }
  111. public String getRequestMethod()
  112. {
  113. return requestMethod;
  114. }
  115. public void setRequestMethod(String requestMethod)
  116. {
  117. this.requestMethod = requestMethod;
  118. }
  119. public Integer getOperatorType()
  120. {
  121. return operatorType;
  122. }
  123. public void setOperatorType(Integer operatorType)
  124. {
  125. this.operatorType = operatorType;
  126. }
  127. public String getOperName()
  128. {
  129. return operName;
  130. }
  131. public void setOperName(String operName)
  132. {
  133. this.operName = operName;
  134. }
  135. public String getDeptName()
  136. {
  137. return deptName;
  138. }
  139. public void setDeptName(String deptName)
  140. {
  141. this.deptName = deptName;
  142. }
  143. public String getOperUrl()
  144. {
  145. return operUrl;
  146. }
  147. public void setOperUrl(String operUrl)
  148. {
  149. this.operUrl = operUrl;
  150. }
  151. public String getOperIp()
  152. {
  153. return operIp;
  154. }
  155. public void setOperIp(String operIp)
  156. {
  157. this.operIp = operIp;
  158. }
  159. public String getOperLocation()
  160. {
  161. return operLocation;
  162. }
  163. public void setOperLocation(String operLocation)
  164. {
  165. this.operLocation = operLocation;
  166. }
  167. public String getOperParam()
  168. {
  169. return operParam;
  170. }
  171. public void setOperParam(String operParam)
  172. {
  173. this.operParam = operParam;
  174. }
  175. public String getJsonResult()
  176. {
  177. return jsonResult;
  178. }
  179. public void setJsonResult(String jsonResult)
  180. {
  181. this.jsonResult = jsonResult;
  182. }
  183. public Integer getStatus()
  184. {
  185. return status;
  186. }
  187. public void setStatus(Integer status)
  188. {
  189. this.status = status;
  190. }
  191. public String getErrorMsg()
  192. {
  193. return errorMsg;
  194. }
  195. public void setErrorMsg(String errorMsg)
  196. {
  197. this.errorMsg = errorMsg;
  198. }
  199. public Date getOperTime()
  200. {
  201. return operTime;
  202. }
  203. public void setOperTime(Date operTime)
  204. {
  205. this.operTime = operTime;
  206. }
  207. public Long getCostTime()
  208. {
  209. return costTime;
  210. }
  211. public void setCostTime(Long costTime)
  212. {
  213. this.costTime = costTime;
  214. }
  215. }