任务三
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// 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 TableNameSysAuthorityBtn = "sys_authority_btns"
|
||||
|
||||
// SysAuthorityBtn mapped from table <sys_authority_btns>
|
||||
type SysAuthorityBtn struct {
|
||||
AuthorityID *int64 `gorm:"column:authority_id;type:bigint(20) unsigned;comment:角色ID" json:"authority_id"` // 角色ID
|
||||
SysMenuID *int64 `gorm:"column:sys_menu_id;type:bigint(20) unsigned;comment:菜单ID" json:"sys_menu_id"` // 菜单ID
|
||||
SysBaseMenuBtnID *int64 `gorm:"column:sys_base_menu_btn_id;type:bigint(20) unsigned;comment:菜单按钮ID" json:"sys_base_menu_btn_id"` // 菜单按钮ID
|
||||
}
|
||||
|
||||
// TableName SysAuthorityBtn's table name
|
||||
func (*SysAuthorityBtn) TableName() string {
|
||||
return TableNameSysAuthorityBtn
|
||||
}
|
||||
Reference in New Issue
Block a user