树节点接口(通用) — Tree node interface (generic)
表示树结构中的单个节点,至少包含 id 字段,可选 pid(父 id), 并允许任意其它键/值对以便扩展。
id
pid
Represents a single node in a tree structure. It contains at least an id, optionally a pid (parent id), and allows arbitrary additional properties.
Optional
树节点接口(通用) — Tree node interface (generic)
表示树结构中的单个节点,至少包含
id字段,可选pid(父 id), 并允许任意其它键/值对以便扩展。Represents a single node in a tree structure. It contains at least an
id, optionally apid(parent id), and allows arbitrary additional properties.