mac
2023-11-03 9e875b253959eff8f6af567308ad804fe69d0a62
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
package com.hdl.linkpm.sdk.device.bean;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
import androidx.annotation.NonNull;
 
/**
 * Created by Zoro
 * Created on 2022/11/1
 * description:
 */
public class CategoryInfo implements Serializable {
    private String categoryId;
    private String categoryCode;
    private String categoryName;
    private String categoryType;
    private String categoryIcon;
    private List<CategoryInfo> children = new ArrayList<>();
 
    public String getCategoryIcon() {
        return categoryIcon == null ? "" : categoryIcon;
    }
 
    public void setCategoryIcon(@NonNull String categoryIcon) {
        this.categoryIcon = categoryIcon;
    }
 
    public String getCategoryId() {
        return categoryId == null ? "" : categoryId;
    }
 
    public void setCategoryId(@NonNull String categoryId) {
        this.categoryId = categoryId;
    }
 
    public String getCategoryCode() {
        return categoryCode == null ? "" : categoryCode;
    }
 
    public void setCategoryCode(@NonNull String categoryCode) {
        this.categoryCode = categoryCode;
    }
 
    public String getCategoryName() {
        return categoryName == null ? "" : categoryName;
    }
 
    public void setCategoryName(@NonNull String categoryName) {
        this.categoryName = categoryName;
    }
 
    public String getCategoryType() {
        return categoryType == null ? "" : categoryType;
    }
 
    public void setCategoryType(@NonNull String categoryType) {
        this.categoryType = categoryType;
    }
 
    public List<CategoryInfo> getChildren() {
        if (children == null) {
            return children = new ArrayList<>();
        }
        return children;
    }
 
    public void setChildren(@NonNull List<CategoryInfo> children) {
        this.children = children;
    }
}