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