yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
package com.qianwen.core.log.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
 
/* loaded from: blade-starter-log-9.3.0.0-SNAPSHOT.jar:org/springblade/core/log/model/LogAbstract.class */
public class LogAbstract implements Serializable {
    protected static final long serialVersionUID = 1;
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    protected Long id;
    private String tenantId;
    protected String serviceId;
    protected String serverIp;
    protected String serverHost;
    protected String env;
    protected String remoteIp;
    protected String userAgent;
    protected String requestUri;
    protected String method;
    protected String methodClass;
    protected String methodName;
    protected String params;
    protected String createBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date createTime;
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setTenantId(final String tenantId) {
        this.tenantId = tenantId;
    }
 
    public void setServiceId(final String serviceId) {
        this.serviceId = serviceId;
    }
 
    public void setServerIp(final String serverIp) {
        this.serverIp = serverIp;
    }
 
    public void setServerHost(final String serverHost) {
        this.serverHost = serverHost;
    }
 
    public void setEnv(final String env) {
        this.env = env;
    }
 
    public void setRemoteIp(final String remoteIp) {
        this.remoteIp = remoteIp;
    }
 
    public void setUserAgent(final String userAgent) {
        this.userAgent = userAgent;
    }
 
    public void setRequestUri(final String requestUri) {
        this.requestUri = requestUri;
    }
 
    public void setMethod(final String method) {
        this.method = method;
    }
 
    public void setMethodClass(final String methodClass) {
        this.methodClass = methodClass;
    }
 
    public void setMethodName(final String methodName) {
        this.methodName = methodName;
    }
 
    public void setParams(final String params) {
        this.params = params;
    }
 
    public void setCreateBy(final String createBy) {
        this.createBy = createBy;
    }
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof LogAbstract) {
            LogAbstract other = (LogAbstract) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    return false;
                }
                Object this$serviceId = getServiceId();
                Object other$serviceId = other.getServiceId();
                if (this$serviceId == null) {
                    if (other$serviceId != null) {
                        return false;
                    }
                } else if (!this$serviceId.equals(other$serviceId)) {
                    return false;
                }
                Object this$serverIp = getServerIp();
                Object other$serverIp = other.getServerIp();
                if (this$serverIp == null) {
                    if (other$serverIp != null) {
                        return false;
                    }
                } else if (!this$serverIp.equals(other$serverIp)) {
                    return false;
                }
                Object this$serverHost = getServerHost();
                Object other$serverHost = other.getServerHost();
                if (this$serverHost == null) {
                    if (other$serverHost != null) {
                        return false;
                    }
                } else if (!this$serverHost.equals(other$serverHost)) {
                    return false;
                }
                Object this$env = getEnv();
                Object other$env = other.getEnv();
                if (this$env == null) {
                    if (other$env != null) {
                        return false;
                    }
                } else if (!this$env.equals(other$env)) {
                    return false;
                }
                Object this$remoteIp = getRemoteIp();
                Object other$remoteIp = other.getRemoteIp();
                if (this$remoteIp == null) {
                    if (other$remoteIp != null) {
                        return false;
                    }
                } else if (!this$remoteIp.equals(other$remoteIp)) {
                    return false;
                }
                Object this$userAgent = getUserAgent();
                Object other$userAgent = other.getUserAgent();
                if (this$userAgent == null) {
                    if (other$userAgent != null) {
                        return false;
                    }
                } else if (!this$userAgent.equals(other$userAgent)) {
                    return false;
                }
                Object this$requestUri = getRequestUri();
                Object other$requestUri = other.getRequestUri();
                if (this$requestUri == null) {
                    if (other$requestUri != null) {
                        return false;
                    }
                } else if (!this$requestUri.equals(other$requestUri)) {
                    return false;
                }
                Object this$method = getMethod();
                Object other$method = other.getMethod();
                if (this$method == null) {
                    if (other$method != null) {
                        return false;
                    }
                } else if (!this$method.equals(other$method)) {
                    return false;
                }
                Object this$methodClass = getMethodClass();
                Object other$methodClass = other.getMethodClass();
                if (this$methodClass == null) {
                    if (other$methodClass != null) {
                        return false;
                    }
                } else if (!this$methodClass.equals(other$methodClass)) {
                    return false;
                }
                Object this$methodName = getMethodName();
                Object other$methodName = other.getMethodName();
                if (this$methodName == null) {
                    if (other$methodName != null) {
                        return false;
                    }
                } else if (!this$methodName.equals(other$methodName)) {
                    return false;
                }
                Object this$params = getParams();
                Object other$params = other.getParams();
                if (this$params == null) {
                    if (other$params != null) {
                        return false;
                    }
                } else if (!this$params.equals(other$params)) {
                    return false;
                }
                Object this$createBy = getCreateBy();
                Object other$createBy = other.getCreateBy();
                if (this$createBy == null) {
                    if (other$createBy != null) {
                        return false;
                    }
                } else if (!this$createBy.equals(other$createBy)) {
                    return false;
                }
                Object this$createTime = getCreateTime();
                Object other$createTime = other.getCreateTime();
                return this$createTime == null ? other$createTime == null : this$createTime.equals(other$createTime);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof LogAbstract;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $tenantId = getTenantId();
        int result2 = (result * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $serviceId = getServiceId();
        int result3 = (result2 * 59) + ($serviceId == null ? 43 : $serviceId.hashCode());
        Object $serverIp = getServerIp();
        int result4 = (result3 * 59) + ($serverIp == null ? 43 : $serverIp.hashCode());
        Object $serverHost = getServerHost();
        int result5 = (result4 * 59) + ($serverHost == null ? 43 : $serverHost.hashCode());
        Object $env = getEnv();
        int result6 = (result5 * 59) + ($env == null ? 43 : $env.hashCode());
        Object $remoteIp = getRemoteIp();
        int result7 = (result6 * 59) + ($remoteIp == null ? 43 : $remoteIp.hashCode());
        Object $userAgent = getUserAgent();
        int result8 = (result7 * 59) + ($userAgent == null ? 43 : $userAgent.hashCode());
        Object $requestUri = getRequestUri();
        int result9 = (result8 * 59) + ($requestUri == null ? 43 : $requestUri.hashCode());
        Object $method = getMethod();
        int result10 = (result9 * 59) + ($method == null ? 43 : $method.hashCode());
        Object $methodClass = getMethodClass();
        int result11 = (result10 * 59) + ($methodClass == null ? 43 : $methodClass.hashCode());
        Object $methodName = getMethodName();
        int result12 = (result11 * 59) + ($methodName == null ? 43 : $methodName.hashCode());
        Object $params = getParams();
        int result13 = (result12 * 59) + ($params == null ? 43 : $params.hashCode());
        Object $createBy = getCreateBy();
        int result14 = (result13 * 59) + ($createBy == null ? 43 : $createBy.hashCode());
        Object $createTime = getCreateTime();
        return (result14 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
    }
 
    public String toString() {
        return "LogAbstract(id=" + getId() + ", tenantId=" + getTenantId() + ", serviceId=" + getServiceId() + ", serverIp=" + getServerIp() + ", serverHost=" + getServerHost() + ", env=" + getEnv() + ", remoteIp=" + getRemoteIp() + ", userAgent=" + getUserAgent() + ", requestUri=" + getRequestUri() + ", method=" + getMethod() + ", methodClass=" + getMethodClass() + ", methodName=" + getMethodName() + ", params=" + getParams() + ", createBy=" + getCreateBy() + ", createTime=" + getCreateTime() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getServiceId() {
        return this.serviceId;
    }
 
    public String getServerIp() {
        return this.serverIp;
    }
 
    public String getServerHost() {
        return this.serverHost;
    }
 
    public String getEnv() {
        return this.env;
    }
 
    public String getRemoteIp() {
        return this.remoteIp;
    }
 
    public String getUserAgent() {
        return this.userAgent;
    }
 
    public String getRequestUri() {
        return this.requestUri;
    }
 
    public String getMethod() {
        return this.method;
    }
 
    public String getMethodClass() {
        return this.methodClass;
    }
 
    public String getMethodName() {
        return this.methodName;
    }
 
    public String getParams() {
        return this.params;
    }
 
    public String getCreateBy() {
        return this.createBy;
    }
 
    public Date getCreateTime() {
        return this.createTime;
    }
}