package com.sinata.appointment.dto;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import java.util.ArrayList;
|
import java.util.List;
|
import lombok.Data;
|
|
@Data
|
@Schema(description = "菜单树节点(供前端 el-tree)")
|
public class MenuTreeNodeVo {
|
|
@Schema(description = "菜单 id")
|
private Long id;
|
|
@Schema(description = "展示名称")
|
private String label;
|
|
@Schema(description = "1板块 2页面 3权限")
|
private Integer menuType;
|
|
@Schema(description = "权限编码")
|
private String permCode;
|
|
@Schema(description = "路由")
|
private String routePath;
|
|
@Schema(description = "子节点")
|
private List<MenuTreeNodeVo> children = new ArrayList<>();
|
}
|