提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.system.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
4 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
5 |
import java.util.Date; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
7 |
import com.baomidou.mybatisplus.annotation.FieldFill; |
|
8 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
9 |
import java.io.Serializable; |
|
10 |
|
|
11 |
/** |
|
12 |
* <p> |
|
13 |
* 操作日志 |
|
14 |
* </p> |
|
15 |
* |
|
16 |
* @author stylefeng |
|
17 |
* @since 2019-04-01 |
|
18 |
*/ |
|
19 |
@TableName("sys_operation_log") |
|
20 |
public class OperationLog implements Serializable { |
|
21 |
|
|
22 |
private static final long serialVersionUID = 1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* 主键 |
|
26 |
*/ |
|
27 |
@TableId(value = "operation_log_id", type = IdType.ID_WORKER) |
|
28 |
private Long operationLogId; |
|
29 |
|
|
30 |
/** |
|
31 |
* 日志类型(字典) |
|
32 |
*/ |
|
33 |
@TableField("log_type") |
|
34 |
private String logType; |
|
35 |
|
|
36 |
/** |
|
37 |
* 日志名称 |
|
38 |
*/ |
|
39 |
@TableField("log_name") |
|
40 |
private String logName; |
|
41 |
|
|
42 |
/** |
|
43 |
* 用户id |
|
44 |
*/ |
|
45 |
@TableField("user_id") |
|
46 |
private Long userId; |
|
47 |
|
|
48 |
/** |
|
49 |
* 类名称 |
|
50 |
*/ |
|
51 |
@TableField("class_name") |
|
52 |
private String className; |
|
53 |
|
|
54 |
/** |
|
55 |
* 方法名称 |
|
56 |
*/ |
|
57 |
@TableField("method") |
|
58 |
private String method; |
|
59 |
|
|
60 |
/** |
|
61 |
* 创建时间 |
|
62 |
*/ |
|
63 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
64 |
private Date createTime; |
|
65 |
|
|
66 |
/** |
|
67 |
* 是否成功(字典) |
|
68 |
*/ |
|
69 |
@TableField("succeed") |
|
70 |
private String succeed; |
|
71 |
|
|
72 |
/** |
|
73 |
* 备注 |
|
74 |
*/ |
|
75 |
@TableField("message") |
|
76 |
private String message; |
|
77 |
|
|
78 |
|
|
79 |
public Long getOperationLogId() { |
|
80 |
return operationLogId; |
|
81 |
} |
|
82 |
|
|
83 |
public void setOperationLogId(Long operationLogId) { |
|
84 |
this.operationLogId = operationLogId; |
|
85 |
} |
|
86 |
|
|
87 |
public String getLogType() { |
|
88 |
return logType; |
|
89 |
} |
|
90 |
|
|
91 |
public void setLogType(String logType) { |
|
92 |
this.logType = logType; |
|
93 |
} |
|
94 |
|
|
95 |
public String getLogName() { |
|
96 |
return logName; |
|
97 |
} |
|
98 |
|
|
99 |
public void setLogName(String logName) { |
|
100 |
this.logName = logName; |
|
101 |
} |
|
102 |
|
|
103 |
public Long getUserId() { |
|
104 |
return userId; |
|
105 |
} |
|
106 |
|
|
107 |
public void setUserId(Long userId) { |
|
108 |
this.userId = userId; |
|
109 |
} |
|
110 |
|
|
111 |
public String getClassName() { |
|
112 |
return className; |
|
113 |
} |
|
114 |
|
|
115 |
public void setClassName(String className) { |
|
116 |
this.className = className; |
|
117 |
} |
|
118 |
|
|
119 |
public String getMethod() { |
|
120 |
return method; |
|
121 |
} |
|
122 |
|
|
123 |
public void setMethod(String method) { |
|
124 |
this.method = method; |
|
125 |
} |
|
126 |
|
|
127 |
public Date getCreateTime() { |
|
128 |
return createTime; |
|
129 |
} |
|
130 |
|
|
131 |
public void setCreateTime(Date createTime) { |
|
132 |
this.createTime = createTime; |
|
133 |
} |
|
134 |
|
|
135 |
public String getSucceed() { |
|
136 |
return succeed; |
|
137 |
} |
|
138 |
|
|
139 |
public void setSucceed(String succeed) { |
|
140 |
this.succeed = succeed; |
|
141 |
} |
|
142 |
|
|
143 |
public String getMessage() { |
|
144 |
return message; |
|
145 |
} |
|
146 |
|
|
147 |
public void setMessage(String message) { |
|
148 |
this.message = message; |
|
149 |
} |
|
150 |
|
|
151 |
@Override |
|
152 |
public String toString() { |
|
153 |
return "OperationLog{" + |
|
154 |
"operationLogId=" + operationLogId + |
|
155 |
", logType=" + logType + |
|
156 |
", logName=" + logName + |
|
157 |
", userId=" + userId + |
|
158 |
", className=" + className + |
|
159 |
", method=" + method + |
|
160 |
", createTime=" + createTime + |
|
161 |
", succeed=" + succeed + |
|
162 |
", message=" + message + |
|
163 |
"}"; |
|
164 |
} |
|
165 |
} |