package com.qianwen.core.tool.api; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/api/BizMessage.class */ public class BizMessage { private String code; private String message; private String detail; public void setCode(final String code) { this.code = code; } public void setMessage(final String message) { this.message = message; } public void setDetail(final String detail) { this.detail = detail; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BizMessage) { BizMessage other = (BizMessage) o; if (other.canEqual(this)) { Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { 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$detail = getDetail(); Object other$detail = other.getDetail(); return this$detail == null ? other$detail == null : this$detail.equals(other$detail); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BizMessage; } public int hashCode() { Object $code = getCode(); int result = (1 * 59) + ($code == null ? 43 : $code.hashCode()); Object $message = getMessage(); int result2 = (result * 59) + ($message == null ? 43 : $message.hashCode()); Object $detail = getDetail(); return (result2 * 59) + ($detail == null ? 43 : $detail.hashCode()); } public String toString() { return "BizMessage(code=" + getCode() + ", message=" + getMessage() + ", detail=" + getDetail() + StringPool.RIGHT_BRACKET; } public String getCode() { return this.code; } public String getMessage() { return this.message; } public String getDetail() { return this.detail; } }