package com.gkhy.safePlatform.account.model.dto.resp;
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.gkhy.safePlatform.account.entity.user.ProjectInfoDO;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class MenuRespDTO implements Serializable {
|
|
private static final long serialVersionUID = -7358470576962065388L;
|
|
private Long id;
|
private String name;
|
private String path;
|
private Byte priority;
|
private String description;
|
private Byte status;
|
private Long parentId;
|
private Long projectId;
|
@JsonProperty(value = "isPublic")
|
private Boolean isPublic;
|
private String redirect;
|
private String component;
|
private MenuMetaRespDTO meta;
|
private List<MenuRespDTO> children;
|
private ProjectRespDTO project;
|
// 目录id结构的上下级关系 前端需求
|
private List<Long> menuSuperior;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
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 Byte getPriority() {
|
return priority;
|
}
|
|
public void setPriority(Byte priority) {
|
this.priority = priority;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
|
public Long getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public String getRedirect() {
|
return redirect;
|
}
|
|
public void setRedirect(String redirect) {
|
this.redirect = redirect;
|
}
|
|
public String getComponent() {
|
return component;
|
}
|
|
public void setComponent(String component) {
|
this.component = component;
|
}
|
|
public List<MenuRespDTO> getChildren() {
|
return children;
|
}
|
|
public void setChildren(List<MenuRespDTO> children) {
|
this.children = children;
|
}
|
|
public MenuMetaRespDTO getMeta() {
|
return meta;
|
}
|
|
public void setMeta(MenuMetaRespDTO meta) {
|
this.meta = meta;
|
}
|
|
public Boolean getPublic() {
|
return isPublic;
|
}
|
|
public void setPublic(Boolean aPublic) {
|
isPublic = aPublic;
|
}
|
|
public ProjectRespDTO getProject() {
|
return project;
|
}
|
|
public void setProject(ProjectRespDTO project) {
|
this.project = project;
|
}
|
|
public List<Long> getMenuSuperior() {
|
return menuSuperior;
|
}
|
|
public void setMenuSuperior(List<Long> menuSuperior) {
|
this.menuSuperior = menuSuperior;
|
}
|
|
public Long getProjectId() {
|
return projectId;
|
}
|
|
public void setProjectId(Long projectId) {
|
this.projectId = projectId;
|
}
|
}
|