luqingyang
2023-10-30 b82ed8cbcc9e262f2bce2a662f8ce0d8c59b5d70
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
package com.consum.base.pojo;
 
import com.consum.model.po.BaseCategory;
import com.walker.web.param.ParamRequest;
 
import java.util.List;
 
public class ProjectTreeResult extends ParamRequest {
    List<ProjectTreeResult> children;
 
    private Long id;
 
    private String label;
 
    public List<ProjectTreeResult> getChildren() {
        return children;
    }
 
    public void setChildren(List<ProjectTreeResult> children) {
        this.children = children;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getLabel() {
        return label;
    }
 
    public void setLabel(String label) {
        this.label = label;
    }
 
    public ProjectTreeResult() {
    }
 
    public ProjectTreeResult(BaseCategory baseCategory) {
        this.id = baseCategory.getId();
        this.label = baseCategory.getCategoryName();
    }
}