package com.gkhy.labRiskManage.api.controller.model.dto.resp; import java.util.ArrayList; import java.util.List; public class MenuItemApiDTO { private Long id; //菜单级别 private Integer level; //父级菜单 private Long parentId; //菜单项描述信息 private String description; //菜单项名称 private String name; //路径 private String path; //重定向路径 private String redirect; private Byte priority; private Boolean isPublic; private String component; private MenuItemMetaApiDTO meta; private List menuSuperior; private List children; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Integer getLevel() { return level; } public void setLevel(Integer level) { this.level = level; } public Long getParentId() { return parentId; } public void setParentId(Long parentId) { this.parentId = parentId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public String getRedirect() { return redirect; } public void setRedirect(String redirect) { this.redirect = redirect; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Byte getPriority() { return priority; } public void setPriority(Byte priority) { this.priority = priority; } public Boolean getPublic() { return isPublic; } public void setPublic(Boolean aPublic) { isPublic = aPublic; } public String getComponent() { return component; } public void setComponent(String component) { this.component = component; } public MenuItemMetaApiDTO getMeta() { return meta; } public void setMeta(MenuItemMetaApiDTO meta) { this.meta = meta; } public List getMenuSuperior() { return menuSuperior; } public void setMenuSuperior(List menuSuperior) { this.menuSuperior = menuSuperior; } public List getChildren() { if(children == null) children = new ArrayList<>(0); return children; } public void setChildren(List children) { this.children = children; } }