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
package com.qianwen.core.log.model;
 
import com.baomidou.mybatisplus.annotation.TableName;
 
@TableName("blade_log_error")
/* loaded from: blade-starter-log-9.3.0.0-SNAPSHOT.jar:org/springblade/core/log/model/LogError.class */
public class LogError extends LogAbstract {
    private static final long serialVersionUID = 1;
    private String stackTrace;
    private String exceptionName;
    private String message;
    private String fileName;
    private Integer lineNumber;
 
    public void setStackTrace(final String stackTrace) {
        this.stackTrace = stackTrace;
    }
 
    public void setExceptionName(final String exceptionName) {
        this.exceptionName = exceptionName;
    }
 
    public void setMessage(final String message) {
        this.message = message;
    }
 
    public void setFileName(final String fileName) {
        this.fileName = fileName;
    }
 
    public void setLineNumber(final Integer lineNumber) {
        this.lineNumber = lineNumber;
    }
 
    @Override // org.springblade.core.log.model.LogAbstract
    public String toString() {
        return "LogError(stackTrace=" + getStackTrace() + ", exceptionName=" + getExceptionName() + ", message=" + getMessage() + ", fileName=" + getFileName() + ", lineNumber=" + getLineNumber() + ")";
    }
 
    @Override // org.springblade.core.log.model.LogAbstract
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof LogError) {
            LogError other = (LogError) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$lineNumber = getLineNumber();
                Object other$lineNumber = other.getLineNumber();
                if (this$lineNumber == null) {
                    if (other$lineNumber != null) {
                        return false;
                    }
                } else if (!this$lineNumber.equals(other$lineNumber)) {
                    return false;
                }
                Object this$stackTrace = getStackTrace();
                Object other$stackTrace = other.getStackTrace();
                if (this$stackTrace == null) {
                    if (other$stackTrace != null) {
                        return false;
                    }
                } else if (!this$stackTrace.equals(other$stackTrace)) {
                    return false;
                }
                Object this$exceptionName = getExceptionName();
                Object other$exceptionName = other.getExceptionName();
                if (this$exceptionName == null) {
                    if (other$exceptionName != null) {
                        return false;
                    }
                } else if (!this$exceptionName.equals(other$exceptionName)) {
                    return false;
                }
                Object this$message = getMessage();
                Object other$message = other.getMessage();
                if (this$message == null) {
                    if (other$message != null) {
                        return false;
                    }
                } else if (!this$message.equals(other$message)) {
                    return false;
                }
                Object this$fileName = getFileName();
                Object other$fileName = other.getFileName();
                return this$fileName == null ? other$fileName == null : this$fileName.equals(other$fileName);
            }
            return false;
        }
        return false;
    }
 
    @Override // org.springblade.core.log.model.LogAbstract
    protected boolean canEqual(final Object other) {
        return other instanceof LogError;
    }
 
    @Override // org.springblade.core.log.model.LogAbstract
    public int hashCode() {
        int result = super.hashCode();
        Object $lineNumber = getLineNumber();
        int result2 = (result * 59) + ($lineNumber == null ? 43 : $lineNumber.hashCode());
        Object $stackTrace = getStackTrace();
        int result3 = (result2 * 59) + ($stackTrace == null ? 43 : $stackTrace.hashCode());
        Object $exceptionName = getExceptionName();
        int result4 = (result3 * 59) + ($exceptionName == null ? 43 : $exceptionName.hashCode());
        Object $message = getMessage();
        int result5 = (result4 * 59) + ($message == null ? 43 : $message.hashCode());
        Object $fileName = getFileName();
        return (result5 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
    }
 
    public String getStackTrace() {
        return this.stackTrace;
    }
 
    public String getExceptionName() {
        return this.exceptionName;
    }
 
    public String getMessage() {
        return this.message;
    }
 
    public String getFileName() {
        return this.fileName;
    }
 
    public Integer getLineNumber() {
        return this.lineNumber;
    }
}