增加菜单项

master
xiao.ming 2021-11-12 22:36:32 +08:00
parent f1b73769d9
commit f432b51a84
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ type SysMenu struct {
MenuId string `json:"menuId" gorm:"comment:菜单ID"`
AuthorityId string `json:"-" gorm:"comment:角色ID"`
Children []SysMenu `json:"children" gorm:"-"`
Icon string `json:"icon"`
Parameters []SysBaseMenuParameter `json:"parameters" gorm:"foreignKey:SysBaseMenuID;references:MenuId"`
}