田源
2025-01-16 a13255b4129ee8a7a7b7e1ecd8e02dd2c78f7c17
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
package com.vci.starter.web.pagemodel;
 
 
/**
 * @author ludc
 * @date 2024/11/27 16:53
 */
public class BaseTree implements java.io.Serializable{
 
    /**
     * 禁止修改这个值
     * @serial 序列化值
     */
    private static final long serialVersionUID = 6886695271635257122L;
 
    /**
     * 主键
     */
    private String oid;
 
    /**
     * 显示文本
     */
    private String text;
 
    /**
     * 编号
     */
    private String id;
 
    /**
     * 是否叶子
     */
    private boolean leaf = false;
 
    /**
     * 是否显示复选框
     */
    private boolean showCheckbox = false;
 
    /**
     * 是否默认选中
     */
    private boolean checked = false;
 
    /**
     * 层级
     */
    private  int level;
 
    /**
     * 图标
     */
    private String icon;
 
    /**
     * 图标样式
     */
    private String iconCls;
 
    /**
     * 上级节点
     */
    private String parentId;
 
    /**
     * 上级节点的名称
     */
    private String parentName;
 
    /**
     * 上级节点的业务类型
     */
    private String parentBtmName;
 
    /**
     * 是否展开
     */
    private boolean expanded = false;
 
    /**
     * 链接
     */
    private String href;//layui和extjs使用href,easyui使用url,统一href
 
    /**
     * 排序索引
     */
    private String index;
 
    /**
     * 当前数据对象
     */
    private Object data;
 
    public void setOid(String oid) {
        this.oid = oid;
    }
 
    public void setText(String text) {
        this.text = text;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }
 
    public void setShowCheckbox(boolean showCheckbox) {
        this.showCheckbox = showCheckbox;
    }
 
    public void setChecked(boolean checked) {
        this.checked = checked;
    }
 
    public void setLevel(int level) {
        this.level = level;
    }
 
    public void setIcon(String icon) {
        this.icon = icon;
    }
 
    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }
 
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
 
    public void setParentName(String parentName) {
        this.parentName = parentName;
    }
 
    public void setParentBtmName(String parentBtmName) {
        this.parentBtmName = parentBtmName;
    }
 
    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }
 
    public void setHref(String href) {
        this.href = href;
    }
 
    public void setIndex(String index) {
        this.index = index;
    }
 
    public void setData(Object data) {
        this.data = data;
    }
 
    public String getOid() {
        return oid;
    }
 
    public String getText() {
        return text;
    }
 
    public String getId() {
        return id;
    }
 
    public boolean isLeaf() {
        return leaf;
    }
 
    public boolean isShowCheckbox() {
        return showCheckbox;
    }
 
    public boolean isChecked() {
        return checked;
    }
 
    public int getLevel() {
        return level;
    }
 
    public String getIcon() {
        return icon;
    }
 
    public String getIconCls() {
        return iconCls;
    }
 
    public String getParentId() {
        return parentId;
    }
 
    public String getParentName() {
        return parentName;
    }
 
    public String getParentBtmName() {
        return parentBtmName;
    }
 
    public boolean isExpanded() {
        return expanded;
    }
 
    public String getHref() {
        return href;
    }
 
    public String getIndex() {
        return index;
    }
 
    public Object getData() {
        return data;
    }
}