Blame view

ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java 5.31 KB
cee572f2   RuoYi   若依 3.0
1
  package com.ruoyi.system.domain;

46444bd0   RuoYi   RuoYi-Vue 1.0
2
3
  

  import java.util.Date;

8a394f03   RuoYi   日志返回时间格式处理
4
  import com.fasterxml.jackson.annotation.JsonFormat;

cee572f2   RuoYi   若依 3.0
5
6
7
  import com.ruoyi.common.annotation.Excel;

  import com.ruoyi.common.annotation.Excel.ColumnType;

  import com.ruoyi.common.core.domain.BaseEntity;

46444bd0   RuoYi   RuoYi-Vue 1.0
8
9
10
11
12
13
14
15
16
17
18
  

  /**

   * 操作日志记录表 oper_log

   * 

   * @author ruoyi

   */

  public class SysOperLog extends BaseEntity

  {

      private static final long serialVersionUID = 1L;

  

      /** 日志主键 */

bcee37b8   RuoYi   若依 1.1
19
      @Excel(name = "操作序号", cellType = ColumnType.NUMERIC)

46444bd0   RuoYi   RuoYi-Vue 1.0
20
21
22
      private Long operId;

  

      /** 操作模块 */

bcee37b8   RuoYi   若依 1.1
23
      @Excel(name = "操作模块")

46444bd0   RuoYi   RuoYi-Vue 1.0
24
25
26
      private String title;

  

      /** 业务类型(0其它 1新增 2修改 3删除) */

bcee37b8   RuoYi   若依 1.1
27
      @Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")

46444bd0   RuoYi   RuoYi-Vue 1.0
28
29
30
31
32
33
      private Integer businessType;

  

      /** 业务类型数组 */

      private Integer[] businessTypes;

  

      /** 请求方法 */

bcee37b8   RuoYi   若依 1.1
34
      @Excel(name = "请求方法")

46444bd0   RuoYi   RuoYi-Vue 1.0
35
36
37
      private String method;

  

      /** 请求方式 */

bcee37b8   RuoYi   若依 1.1
38
      @Excel(name = "请求方式")

46444bd0   RuoYi   RuoYi-Vue 1.0
39
40
41
      private String requestMethod;

  

      /** 操作类别(0其它 1后台用户 2手机端用户) */

bcee37b8   RuoYi   若依 1.1
42
      @Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")

46444bd0   RuoYi   RuoYi-Vue 1.0
43
44
45
      private Integer operatorType;

  

      /** 操作人员 */

bcee37b8   RuoYi   若依 1.1
46
      @Excel(name = "操作人员")

46444bd0   RuoYi   RuoYi-Vue 1.0
47
48
49
      private String operName;

  

      /** 部门名称 */

bcee37b8   RuoYi   若依 1.1
50
      @Excel(name = "部门名称")

46444bd0   RuoYi   RuoYi-Vue 1.0
51
52
53
      private String deptName;

  

      /** 请求url */

bcee37b8   RuoYi   若依 1.1
54
      @Excel(name = "请求地址")

46444bd0   RuoYi   RuoYi-Vue 1.0
55
56
57
      private String operUrl;

  

      /** 操作地址 */

bcee37b8   RuoYi   若依 1.1
58
      @Excel(name = "操作地址")

46444bd0   RuoYi   RuoYi-Vue 1.0
59
60
61
      private String operIp;

  

      /** 操作地点 */

bcee37b8   RuoYi   若依 1.1
62
      @Excel(name = "操作地点")

46444bd0   RuoYi   RuoYi-Vue 1.0
63
64
65
      private String operLocation;

  

      /** 请求参数 */

bcee37b8   RuoYi   若依 1.1
66
      @Excel(name = "请求参数")

46444bd0   RuoYi   RuoYi-Vue 1.0
67
68
69
      private String operParam;

  

      /** 返回参数 */

bcee37b8   RuoYi   若依 1.1
70
      @Excel(name = "返回参数")

46444bd0   RuoYi   RuoYi-Vue 1.0
71
72
73
      private String jsonResult;

  

      /** 操作状态(0正常 1异常) */

bcee37b8   RuoYi   若依 1.1
74
      @Excel(name = "状态", readConverterExp = "0=正常,1=异常")

46444bd0   RuoYi   RuoYi-Vue 1.0
75
76
77
      private Integer status;

  

      /** 错误消息 */

bcee37b8   RuoYi   若依 1.1
78
      @Excel(name = "错误消息")

46444bd0   RuoYi   RuoYi-Vue 1.0
79
80
81
      private String errorMsg;

  

      /** 操作时间 */

8a394f03   RuoYi   日志返回时间格式处理
82
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

bcee37b8   RuoYi   若依 1.1
83
      @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

46444bd0   RuoYi   RuoYi-Vue 1.0
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
      private Date operTime;

  

      public Long getOperId()

      {

          return operId;

      }

  

      public void setOperId(Long operId)

      {

          this.operId = operId;

      }

  

      public String getTitle()

      {

          return title;

      }

  

      public void setTitle(String title)

      {

          this.title = title;

      }

  

      public Integer getBusinessType()

      {

          return businessType;

      }

  

      public void setBusinessType(Integer businessType)

      {

          this.businessType = businessType;

      }

  

      public Integer[] getBusinessTypes()

      {

          return businessTypes;

      }

  

      public void setBusinessTypes(Integer[] businessTypes)

      {

          this.businessTypes = businessTypes;

      }

  

      public String getMethod()

      {

          return method;

      }

  

      public void setMethod(String method)

      {

          this.method = method;

      }

  

      public String getRequestMethod()

      {

          return requestMethod;

      }

  

      public void setRequestMethod(String requestMethod)

      {

          this.requestMethod = requestMethod;

      }

  

      public Integer getOperatorType()

      {

          return operatorType;

      }

  

      public void setOperatorType(Integer operatorType)

      {

          this.operatorType = operatorType;

      }

  

      public String getOperName()

      {

          return operName;

      }

  

      public void setOperName(String operName)

      {

          this.operName = operName;

      }

  

      public String getDeptName()

      {

          return deptName;

      }

  

      public void setDeptName(String deptName)

      {

          this.deptName = deptName;

      }

  

      public String getOperUrl()

      {

          return operUrl;

      }

  

      public void setOperUrl(String operUrl)

      {

          this.operUrl = operUrl;

      }

  

      public String getOperIp()

      {

          return operIp;

      }

  

      public void setOperIp(String operIp)

      {

          this.operIp = operIp;

      }

  

      public String getOperLocation()

      {

          return operLocation;

      }

  

      public void setOperLocation(String operLocation)

      {

          this.operLocation = operLocation;

      }

  

      public String getOperParam()

      {

          return operParam;

      }

  

      public void setOperParam(String operParam)

      {

          this.operParam = operParam;

      }

  

      public String getJsonResult()

      {

          return jsonResult;

      }

  

      public void setJsonResult(String jsonResult)

      {

          this.jsonResult = jsonResult;

      }

  

      public Integer getStatus()

      {

          return status;

      }

  

      public void setStatus(Integer status)

      {

          this.status = status;

      }

  

      public String getErrorMsg()

      {

          return errorMsg;

      }

  

      public void setErrorMsg(String errorMsg)

      {

          this.errorMsg = errorMsg;

      }

  

      public Date getOperTime()

      {

          return operTime;

      }

  

      public void setOperTime(Date operTime)

      {

          this.operTime = operTime;

      }

  }