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;
|
}
|
}
|