org.macrocloud.kernel.toolkit.node.ForestNode Maven / Gradle / Ivy
package org.macrocloud.kernel.toolkit.node;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 森林节点类.
*
* @author macro
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class ForestNode extends BaseNode {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 1L;
/** 节点内容. */
private Object content;
/**
* Instantiates a new forest node.
*
* @param id the id
* @param parentId the parent id
* @param content the content
*/
public ForestNode(Long id, Long parentId, Object content) {
this.id = id;
this.parentId = parentId;
this.content = content;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy