SysOperLog.java 4.8 KB

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