package com.qianwen.smartman.modules.coproduction.dto; import com.qianwen.smartman.common.constant.CommonConstant; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/CheckResultDTO.class */ public class CheckResultDTO { private Integer code; private String json; private String error; public void setCode(final Integer code) { this.code = code; } public void setJson(final String json) { this.json = json; } public void setError(final String error) { this.error = error; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CheckResultDTO) { CheckResultDTO other = (CheckResultDTO) 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$json = getJson(); Object other$json = other.getJson(); if (this$json == null) { if (other$json != null) { return false; } } else if (!this$json.equals(other$json)) { return false; } Object this$error = getError(); Object other$error = other.getError(); return this$error == null ? other$error == null : this$error.equals(other$error); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CheckResultDTO; } public int hashCode() { Object $code = getCode(); int result = (1 * 59) + ($code == null ? 43 : $code.hashCode()); Object $json = getJson(); int result2 = (result * 59) + ($json == null ? 43 : $json.hashCode()); Object $error = getError(); return (result2 * 59) + ($error == null ? 43 : $error.hashCode()); } public String toString() { return "CheckResultDTO(code=" + getCode() + ", json=" + getJson() + ", error=" + getError() + ")"; } public Integer getCode() { return this.code; } public String getJson() { return this.json; } public String getError() { return this.error; } public CheckResultDTO error(String error) { this.code = CommonConstant.DEACTIVATE; this.error = error; return this; } }