package com.qianwen.core.coderule.dto; /* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/dto/RefObjectTypeInfoDTO.class */ public class RefObjectTypeInfoDTO { private String objectTypeId; private String code; private String name; public void setObjectTypeId(final String objectTypeId) { this.objectTypeId = objectTypeId; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RefObjectTypeInfoDTO) { RefObjectTypeInfoDTO other = (RefObjectTypeInfoDTO) o; if (other.canEqual(this)) { Object this$objectTypeId = getObjectTypeId(); Object other$objectTypeId = other.getObjectTypeId(); if (this$objectTypeId == null) { if (other$objectTypeId != null) { return false; } } else if (!this$objectTypeId.equals(other$objectTypeId)) { return false; } 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$name = getName(); Object other$name = other.getName(); return this$name == null ? other$name == null : this$name.equals(other$name); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof RefObjectTypeInfoDTO; } public int hashCode() { Object $objectTypeId = getObjectTypeId(); int result = (1 * 59) + ($objectTypeId == null ? 43 : $objectTypeId.hashCode()); Object $code = getCode(); int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); return (result2 * 59) + ($name == null ? 43 : $name.hashCode()); } public String toString() { return "RefObjectTypeInfoDTO(objectTypeId=" + getObjectTypeId() + ", code=" + getCode() + ", name=" + getName() + ")"; } public String getObjectTypeId() { return this.objectTypeId; } public String getCode() { return this.code; } public String getName() { return this.name; } }