1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| package io.dataease.api.permissions.dataset.dto;
|
|
| import io.dataease.model.ITreeBase;
| import lombok.Data;
|
| import java.util.List;
|
| @Data
| public class BaseTreeNode implements ITreeBase<BaseTreeNode> {
|
| private Long id;
|
| private Long pid;
|
| private String text;
|
| private String nodeType;
|
| private List<BaseTreeNode> children;
|
| public BaseTreeNode(Long id, Long pid, String text, String nodeType) {
| this.id = id;
| this.pid = pid;
| this.text = text;
| this.nodeType = nodeType;
| }
|
| }
|
|