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;
|
//所属ID
|
private Long belongId;
|
}
|