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;
|
}
|
}
|