增加菜单项
parent
f1b73769d9
commit
f432b51a84
|
@ -5,6 +5,7 @@ type SysMenu struct {
|
||||||
MenuId string `json:"menuId" gorm:"comment:菜单ID"`
|
MenuId string `json:"menuId" gorm:"comment:菜单ID"`
|
||||||
AuthorityId string `json:"-" gorm:"comment:角色ID"`
|
AuthorityId string `json:"-" gorm:"comment:角色ID"`
|
||||||
Children []SysMenu `json:"children" gorm:"-"`
|
Children []SysMenu `json:"children" gorm:"-"`
|
||||||
|
Icon string `json:"icon"`
|
||||||
Parameters []SysBaseMenuParameter `json:"parameters" gorm:"foreignKey:SysBaseMenuID;references:MenuId"`
|
Parameters []SysBaseMenuParameter `json:"parameters" gorm:"foreignKey:SysBaseMenuID;references:MenuId"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue