package com.qianwen.core.tool.node; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/node/ForestNode.class */ public class ForestNode extends BaseNode { private static final long serialVersionUID = 1; private Object content; public void setContent(final Object content) { this.content = content; } @Override // org.springblade.core.tool.node.BaseNode public String toString() { return "ForestNode(content=" + getContent() + StringPool.RIGHT_BRACKET; } @Override // org.springblade.core.tool.node.BaseNode public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ForestNode) { ForestNode other = (ForestNode) o; if (other.canEqual(this)) { Object this$content = getContent(); Object other$content = other.getContent(); return this$content == null ? other$content == null : this$content.equals(other$content); } return false; } return false; } @Override // org.springblade.core.tool.node.BaseNode protected boolean canEqual(final Object other) { return other instanceof ForestNode; } @Override // org.springblade.core.tool.node.BaseNode public int hashCode() { Object $content = getContent(); int result = (1 * 59) + ($content == null ? 43 : $content.hashCode()); return result; } public Object getContent() { return this.content; } public ForestNode(Long id, Long parentId, Object content) { this.id = id; this.parentId = parentId; this.content = content; } }