xiaoyong931011
2022-07-08 2384ab59fbebd5bf40826a88420a736984316b93
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
33
34
35
package com.xcong.farmer.cms.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.farmer.cms.common.system.base.BaseEntity;
import lombok.Data;
 
/**
 * 菜单按钮表
 */
@Data
@TableName("t_menu")
public class MenuEntity extends BaseEntity {
    /**
     * 菜单类型 - 菜单
     */
    public static final Long PARENTID_DEFAULT = 0L;
    /**
     * 菜单类型 - 菜单
     */
    public static final Integer MENU_TYPE_MENU = 1;
    /**
     * 菜单类型 - 按钮
     */
    public static final Integer MENU_TYPE_BUTTON = 2;
    //菜单按钮标题
    private String menuName;
    //菜单类型 1:菜单 2:按钮
    private Integer menuType;
    //路由地址
    private String routeUrl;
    //排序
    private Integer orderNum;
    //父级ID
    private Long parentId;
}