package com.sinata.appointment.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; @Data @EqualsAndHashCode(callSuper = true) @TableName("sys_menu") @Schema(description = "菜单(板块/页面/权限,数据由库维护)") public class SysMenu extends BaseEntity { @Schema(description = "父级 id,板块为 0") private Long pid; /** 1 板块 2 页面 3 权限 */ @Schema(description = "1板块 2页面 3权限") private Integer menuType; @Schema(description = "菜单名称") private String menuName; @Schema(description = "权限编码") private String permCode; @Schema(description = "排序") private Integer sortOrder; @Schema(description = "前端路由") private String routePath; }