org.yes.tools.generator.model.MenuModel 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 MenuModel {
@Schema(description = "后台菜单表 id")
private String id;
@Schema(description = "父级id(注:父级为0)")
private String pid;
@Schema(description = "项目项id")
private String projectItemId;
@Schema(description = "项目id")
private String projectId;
@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 = "组件是否缓存: 1=是 2=否")
private Integer keepAlive;
@Schema(description = "是否隐藏: 1=是 2=否")
private Integer hideInMenu;
@Schema(description = "排序")
private Integer sort;
}