Bỏ qua, đến nội dung

Database schema

ER Diagram

Chi tiết bảng

desktopRoutes

Bảng chính lưu menu desktop. Mỗi record là một node trong cây menu.

FieldTypeMô tả
idbigInt (PK)Snowflake ID, tự sinh
schemaUidstringUID của uiSchema chứa nội dung trang
menuSchemaUidstringUID của uiSchema cho menu item
tabSchemaNamestringTên uiWidget chứa tab layout
titlestringTên hiển thị trên sidebar
iconstringAnt Design icon name
typestringLoại: page, group, link, divider
parentIdbigInt (FK)ID node cha (null = root)
sortfloatThứ tự sắp xếp, scoped theo parentId
hideInMenubooleantrue = ẩn khỏi sidebar nhưng vẫn truy cập được qua URL
enableTabsbooleantrue = hiển thị tab bar bên trong page
enableHeaderbooleantrue = hiển thị page header
displayTitlebooleantrue = hiển thị title trên page content
hiddenbooleantrue = ẩn hoàn toàn (không render)
optionsjsonTuỳ chọn mở rộng

mobileRoutes

Cấu trúc tương tự desktopRoutes, dành cho menu mobile. Không có enableTabs, enableHeader, displayTitle.

rolesDesktopRoutes

Bảng junction M2M giữa rolesdesktopRoutes.

FieldTypeMô tả
roleNamestring (FK)Tên role
desktopRouteIdbigInt (FK)ID desktop route

Composite PK: (roleName, desktopRouteId).