mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 02:03:42 +08:00
feat: support custom menu
This commit is contained in:
11
api/store/model/menu.go
Normal file
11
api/store/model/menu.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
// Menu 系统菜单
|
||||
type Menu struct {
|
||||
Id uint `gorm:"primarykey;column:id"`
|
||||
Name string // 菜单名称
|
||||
Icon string // 菜单图标
|
||||
URL string // 菜单跳转地址
|
||||
SortNum int // 排序
|
||||
Enabled bool // 启用状态
|
||||
}
|
||||
Reference in New Issue
Block a user