commit | author | age
|
9bcb19
|
1 |
/* |
I |
2 |
Copyright [2020] [https://www.xiaonuo.vip] |
|
3 |
|
|
4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
you may not use this file except in compliance with the License. |
|
6 |
You may obtain a copy of the License at |
|
7 |
|
|
8 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
|
|
10 |
Unless required by applicable law or agreed to in writing, software |
|
11 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
See the License for the specific language governing permissions and |
|
14 |
limitations under the License. |
|
15 |
|
|
16 |
Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点: |
|
17 |
|
|
18 |
1.请不要删除和修改根目录下的LICENSE文件。 |
|
19 |
2.请不要删除和修改Snowy源码头部的版权声明。 |
|
20 |
3.请保留源码和相关描述文件的项目出处,作者声明等。 |
|
21 |
4.分发源码时候,请注明软件出处 https://gitee.com/xiaonuobase/snowy |
|
22 |
5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/xiaonuobase/snowy |
|
23 |
6.若您的项目无法满足以上几点,可申请商业授权,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip |
|
24 |
*/ |
|
25 |
package vip.xiaonuo.sys.modular.log.param; |
|
26 |
|
|
27 |
import lombok.Data; |
|
28 |
import lombok.EqualsAndHashCode; |
|
29 |
import vip.xiaonuo.core.pojo.base.param.BaseParam; |
|
30 |
|
|
31 |
import java.util.Date; |
|
32 |
|
|
33 |
/** |
|
34 |
* 操作日志参数 |
|
35 |
* |
|
36 |
* @author xuyuxiang |
|
37 |
* @date 2020/3/26 9:16 |
|
38 |
*/ |
|
39 |
@EqualsAndHashCode(callSuper = true) |
|
40 |
@Data |
|
41 |
public class SysOpLogParam extends BaseParam { |
|
42 |
|
|
43 |
/** |
|
44 |
* 主键 |
|
45 |
*/ |
|
46 |
private Long id; |
|
47 |
|
|
48 |
/** |
|
49 |
* 名称 |
|
50 |
*/ |
|
51 |
private String name; |
|
52 |
|
|
53 |
/** |
|
54 |
* 操作类型(0其他 1增加 2删除 3编辑 ...见BasePram的参数校验类型) |
|
55 |
*/ |
|
56 |
private Integer opType; |
|
57 |
|
|
58 |
/** |
|
59 |
* 是否执行成功(Y-是,N-否) |
|
60 |
*/ |
|
61 |
private String success; |
|
62 |
|
|
63 |
/** |
|
64 |
* 具体消息 |
|
65 |
*/ |
|
66 |
private String message; |
|
67 |
|
|
68 |
/** |
|
69 |
* ip |
|
70 |
*/ |
|
71 |
private String ip; |
|
72 |
|
|
73 |
/** |
|
74 |
* 地址 |
|
75 |
*/ |
|
76 |
private String location; |
|
77 |
|
|
78 |
/** |
|
79 |
* 浏览器 |
|
80 |
*/ |
|
81 |
private String browser; |
|
82 |
|
|
83 |
/** |
|
84 |
* 操作系统 |
|
85 |
*/ |
|
86 |
private String os; |
|
87 |
|
|
88 |
/** |
|
89 |
* 请求地址 |
|
90 |
*/ |
|
91 |
private String url; |
|
92 |
|
|
93 |
/** |
|
94 |
* 类名称 |
|
95 |
*/ |
|
96 |
private String className; |
|
97 |
|
|
98 |
/** |
|
99 |
* 方法名称 |
|
100 |
*/ |
|
101 |
private String methodName; |
|
102 |
|
|
103 |
/** |
|
104 |
* 请求方式(GET POST PUT DELETE) |
|
105 |
*/ |
|
106 |
private String reqMethod; |
|
107 |
|
|
108 |
/** |
|
109 |
* 请求参数 |
|
110 |
*/ |
|
111 |
private String param; |
|
112 |
|
|
113 |
/** |
|
114 |
* 返回结果 |
|
115 |
*/ |
|
116 |
private String result; |
|
117 |
|
|
118 |
/** |
|
119 |
* 操作时间 |
|
120 |
*/ |
|
121 |
private Date opTime; |
|
122 |
|
|
123 |
/** |
|
124 |
* 操作人 |
|
125 |
*/ |
|
126 |
private String account; |
|
127 |
} |