cloudroam
2025-03-19 c3fbe657671ae55768ce9ac7ea7bb75ff0c6829e
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
package com.jsh.erp.datasource.vo;
 
import java.util.List;
 
/**
 * Description
 *  树形结构基本元素
 * @Author: cjl
 * @Date: 2019/2/19 11:27
 */
public class TreeNode {
    /**
     * id主键
     * */
     private Long id;
     private Long key;
     private Long value;
     /**
      * title显示的文本
      * */
    private String title;
    /**
     *state节点状态,'open' 或 'closed',默认:'open'。如果为'closed'的时候,将不自动展开该节点。
     * */
    private String state="open";
    /**
     *iconCls 节点图标id
     * */
    private String iconCls;
    /**
     * checked 是否被选中
     * */
    private boolean checked;
    /**
     *attributes 自定义属性
     * */
    private String attributes;
    /**
     * children 子节点
     * */
    private List<TreeNode> children;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getKey() {
        return key;
    }
 
    public void setKey(Long key) {
        this.key = key;
    }
 
    public Long getValue() {
        return value;
    }
 
    public void setValue(Long value) {
        this.value = value;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getState() {
        return state;
    }
 
    public void setState(String state) {
        this.state = state;
    }
 
    public String getIconCls() {
        return iconCls;
    }
 
    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }
 
    public boolean isChecked() {
        return checked;
    }
 
    public void setChecked(boolean checked) {
        this.checked = checked;
    }
 
    public String getAttributes() {
        return attributes;
    }
 
    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }
 
    public List<TreeNode> getChildren() {
        return children;
    }
 
    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}