chengf
2025-10-22 65bcf58c4e11a09b095bb60a639af8cadd025cba
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
package com.java110.dto.org;
 
import java.io.Serializable;
import java.util.List;
 
/**
 * {
 * id: 'f_' + pItem.floorId,
 * floorId: pItem.floorId,
 * floorNum: pItem.floorNum,
 * icon: "/img/floor.png",
 * text: pItem.floorNum + "栋",
 * state: {
 * opened: false
 * },
 * children: []
 * }
 */
public class OrgTreeDto implements Serializable {
 
    public OrgTreeDto() {
 
    }
 
    public OrgTreeDto(String id, String text,String parentId,String allOrgName,String orgLevel) {
        this.id = id;
        this.text = text;
        this.parentId = parentId;
        this.allOrgName = allOrgName;
        this.orgLevel = orgLevel;
    }
 
    private String id;
    private String icon ="/img/org.png";
    private String text;
    private String parentId;
    private String allOrgName;
    private String orgLevel;
    private List<OrgTreeDto> children;
 
    public String getOrgLevel() {
        return orgLevel;
    }
 
    public void setOrgLevel(String orgLevel) {
        this.orgLevel = orgLevel;
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getIcon() {
        return icon;
    }
 
    public void setIcon(String icon) {
        this.icon = icon;
    }
 
    public List<OrgTreeDto> getChildren() {
        return children;
    }
 
    public void setChildren(List<OrgTreeDto> children) {
        this.children = children;
    }
 
    public String getText() {
        return text;
    }
 
    public void setText(String text) {
        this.text = text;
    }
 
    public String getParentId() {
        return parentId;
    }
 
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
 
    public String getAllOrgName() {
        return allOrgName;
    }
 
    public void setAllOrgName(String allOrgName) {
        this.allOrgName = allOrgName;
    }
}