SysOperLog.java 5.1 KB

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