yangys
2024-05-19 9e5da8899bc21bb5b6b0a3c267108caa00199291
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;
    }
}