You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
610 B

9 months ago
package model
//type SysMenu struct {
// SysBaseMenu
// MenuId string `json:"menuId" gorm:"comment:菜单ID"`
// AuthorityId string `json:"-" gorm:"comment:角色ID"`
// Children []SysMenu `json:"children" gorm:"-"`
// Parameters []SysBaseMenuParameter `json:"parameters" gorm:"foreignKey:SysBaseMenuID;references:MenuId"`
//}
//func (s SysMenu) TableName() string {
// return "authority_menu"
//}
type SysAuthorityMenu struct {
SysBaseMenuId uint `json:"sys_base_menu_id"`
SysAuthorityAuthorityId uint `json:"sys_authority_authority_id"`
}