2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
package com.landtool.lanbase.modules.res.entity;
 
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
 
public class TreeDataByResourceType {
    private  String id;
    private  String name;
    private List<Res_Catalog> children= new ArrayList<>();
    private  String pid;
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public List<Res_Catalog> getChildren() {
        return children;
    }
 
    public void setChildren(List<Res_Catalog> children) {
        this.children = children;
    }
 
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TreeDataByResourceType that = (TreeDataByResourceType) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(name, that.name) &&
                Objects.equals(children, that.children);
    }
 
    @Override
    public int hashCode() {
        return Objects.hash(id, name, children);
    }
 
    @Override
    public String toString() {
        return "TreeDataByResourceType{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", list=" + children +
                ", pid='" + pid + '\'' +
                '}';
    }
 
    public String getPid() {
        return pid;
    }
 
    public void setPid(String pid) {
        this.pid = pid;
    }
}