Package com.bytedesk.core.menu
Class MenuEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.core.menu.MenuEntity
- All Implemented Interfaces:
Serializable
Menu entity for content categorization and organization
Provides menuging functionality for various system entities
Database Table: bytedesk_core_menu
Purpose: Stores menu definitions, colors, and organization settings
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringPrimary color used when rendering this menu entrystatic final Stringprivate StringDescription of the menuprivate BooleanWhether the menu entry is currently enabledprivate StringIcon key (Ant Design icon name, etc.) for the menu entryprivate StringExternal link that the menu points toprivate StringName of the menuprivate BooleanWhether to open the link in a new window/tabprivate IntegerSorting order (lower numbers appear first)private static final longprivate StringType of menu (ADMIN/DESKTOP, etc.) -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
DEFAULT_COLOR
- See Also:
-
name
Name of the menu -
description
Description of the menu -
type
Type of menu (ADMIN/DESKTOP, etc.) -
color
Primary color used when rendering this menu entry -
icon
Icon key (Ant Design icon name, etc.) for the menu entry -
link
External link that the menu points to -
order
Sorting order (lower numbers appear first) -
enabled
Whether the menu entry is currently enabled -
openInNewWindow
Whether to open the link in a new window/tab
-
-
Constructor Details
-
MenuEntity
public MenuEntity()
-