SysOperLog.java 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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. /** 消耗时间 */
  67. @Excel(name = "消耗时间", suffix = "毫秒")
  68. private Long costTime;
  69. public Long getOperId()
  70. {
  71. return operId;
  72. }
  73. public void setOperId(Long operId)
  74. {
  75. this.operId = operId;
  76. }
  77. public String getTitle()
  78. {
  79. return title;
  80. }
  81. public void setTitle(String title)
  82. {
  83. this.title = title;
  84. }
  85. public Integer getBusinessType()
  86. {
  87. return businessType;
  88. }
  89. public void setBusinessType(Integer businessType)
  90. {
  91. this.businessType = businessType;
  92. }
  93. public Integer[] getBusinessTypes()
  94. {
  95. return businessTypes;
  96. }
  97. public void setBusinessTypes(Integer[] businessTypes)
  98. {
  99. this.businessTypes = businessTypes;
  100. }
  101. public String getMethod()
  102. {
  103. return method;
  104. }
  105. public void setMethod(String method)
  106. {
  107. this.method = method;
  108. }
  109. public String getRequestMethod()
  110. {
  111. return requestMethod;
  112. }
  113. public void setRequestMethod(String requestMethod)
  114. {
  115. this.requestMethod = requestMethod;
  116. }
  117. public Integer getOperatorType()
  118. {
  119. return operatorType;
  120. }
  121. public void setOperatorType(Integer operatorType)
  122. {
  123. this.operatorType = operatorType;
  124. }
  125. public String getOperName()
  126. {
  127. return operName;
  128. }
  129. public void setOperName(String operName)
  130. {
  131. this.operName = operName;
  132. }
  133. public String getDeptName()
  134. {
  135. return deptName;
  136. }
  137. public void setDeptName(String deptName)
  138. {
  139. this.deptName = deptName;
  140. }
  141. public String getOperUrl()
  142. {
  143. return operUrl;
  144. }
  145. public void setOperUrl(String operUrl)
  146. {
  147. this.operUrl = operUrl;
  148. }
  149. public String getOperIp()
  150. {
  151. return operIp;
  152. }
  153. public void setOperIp(String operIp)
  154. {
  155. this.operIp = operIp;
  156. }
  157. public String getOperLocation()
  158. {
  159. return operLocation;
  160. }
  161. public void setOperLocation(String operLocation)
  162. {
  163. this.operLocation = operLocation;
  164. }
  165. public String getOperParam()
  166. {
  167. return operParam;
  168. }
  169. public void setOperParam(String operParam)
  170. {
  171. this.operParam = operParam;
  172. }
  173. public String getJsonResult()
  174. {
  175. return jsonResult;
  176. }
  177. public void setJsonResult(String jsonResult)
  178. {
  179. this.jsonResult = jsonResult;
  180. }
  181. public Integer getStatus()
  182. {
  183. return status;
  184. }
  185. public void setStatus(Integer status)
  186. {
  187. this.status = status;
  188. }
  189. public String getErrorMsg()
  190. {
  191. return errorMsg;
  192. }
  193. public void setErrorMsg(String errorMsg)
  194. {
  195. this.errorMsg = errorMsg;
  196. }
  197. public Date getOperTime()
  198. {
  199. return operTime;
  200. }
  201. public void setOperTime(Date operTime)
  202. {
  203. this.operTime = operTime;
  204. }
  205. public Long getCostTime()
  206. {
  207. return costTime;
  208. }
  209. public void setCostTime(Long costTime)
  210. {
  211. this.costTime = costTime;
  212. }
  213. }