org.yes.tools.generator.model.MenuVo Maven / Gradle / Ivy
package org.yes.tools.generator.model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;
/**
*
* 后台菜单表
*
*
* @author Co.
* @since 2023-02-16
*/
@Data
@Schema(name = "MenuModel对象", description = "菜单表")
public class MenuVo {
@Schema(description = "后台菜单表 id")
private String id;
@Schema(description = "父级id(注:父级为0)")
private String pid;
@Schema(description = "项目项id")
private String projectItemId;
@Schema(description = "菜单类型,M-目录,C-菜单,A-按钮")
private String menuType;
@Schema(description = "菜单路径")
private String path;
@Schema(description = "菜单名称")
private String name;
@Schema(description = "菜单组件")
private String component;
@Schema(description = "标题")
private String title;
@Schema(description = "图标")
private String icon;
@Schema(description = "排序")
private Integer sort;
@Schema(description = "下级菜单数据")
List children;
}