任务三
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
|
||||
package model
|
||||
|
||||
const TableNameSysAuthorityMenu = "sys_authority_menus"
|
||||
|
||||
// SysAuthorityMenu mapped from table <sys_authority_menus>
|
||||
type SysAuthorityMenu struct {
|
||||
SysBaseMenuID int64 `gorm:"column:sys_base_menu_id;type:bigint(20) unsigned;primaryKey" json:"sys_base_menu_id"`
|
||||
SysAuthorityAuthorityID int64 `gorm:"column:sys_authority_authority_id;type:bigint(20) unsigned;primaryKey;comment:角色ID" json:"sys_authority_authority_id"` // 角色ID
|
||||
}
|
||||
|
||||
// TableName SysAuthorityMenu's table name
|
||||
func (*SysAuthorityMenu) TableName() string {
|
||||
return TableNameSysAuthorityMenu
|
||||
}
|
||||
Reference in New Issue
Block a user