longz
2026-04-21 c4db0a4526f61758272c92396aa788d84f098102
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
}