package com.qianwen.core.coderule.model; import java.io.Serializable; /* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/model/RefObjectType.class */ public class RefObjectType implements Serializable { private String objectTypeId; private String refObjectTypeId; private String fieldName; public void setObjectTypeId(final String objectTypeId) { this.objectTypeId = objectTypeId; } public void setRefObjectTypeId(final String refObjectTypeId) { this.refObjectTypeId = refObjectTypeId; } public void setFieldName(final String fieldName) { this.fieldName = fieldName; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RefObjectType) { RefObjectType other = (RefObjectType) 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$refObjectTypeId = getRefObjectTypeId(); Object other$refObjectTypeId = other.getRefObjectTypeId(); if (this$refObjectTypeId == null) { if (other$refObjectTypeId != null) { return false; } } else if (!this$refObjectTypeId.equals(other$refObjectTypeId)) { return false; } Object this$fieldName = getFieldName(); Object other$fieldName = other.getFieldName(); return this$fieldName == null ? other$fieldName == null : this$fieldName.equals(other$fieldName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof RefObjectType; } public int hashCode() { Object $objectTypeId = getObjectTypeId(); int result = (1 * 59) + ($objectTypeId == null ? 43 : $objectTypeId.hashCode()); Object $refObjectTypeId = getRefObjectTypeId(); int result2 = (result * 59) + ($refObjectTypeId == null ? 43 : $refObjectTypeId.hashCode()); Object $fieldName = getFieldName(); return (result2 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode()); } public String toString() { return "RefObjectType(objectTypeId=" + getObjectTypeId() + ", refObjectTypeId=" + getRefObjectTypeId() + ", fieldName=" + getFieldName() + ")"; } public String getObjectTypeId() { return this.objectTypeId; } public String getRefObjectTypeId() { return this.refObjectTypeId; } public String getFieldName() { return this.fieldName; } }