yangys
2024-05-18 13304af2facdc0e9d8df197c0cf5ed51c94ffc8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.qianwen.core.tool.node;
 
import java.io.Serializable;
import java.util.List;
 
 
public interface INode<T> extends Serializable {
    Long getId();
 
    Long getParentId();
 
    List<T> getChildren();
 
    default Boolean getHasChildren() {
        return false;
    }
}