fusenapi/model/gmodel/ldap_group_menus_gen.go

20 lines
421 B
Go
Raw Normal View History

2023-11-15 06:42:14 +00:00
package gmodel
import (
"gorm.io/gorm"
)
// ldap_group_menus 权限分组菜单表
type LdapGroupMenus struct {
MenuId *int64 `gorm:"default:0;" json:"menu_id"` //
GroupId *int64 `gorm:"default:0;" json:"group_id"` //
}
type LdapGroupMenusModel struct {
db *gorm.DB
name string
}
func NewLdapGroupMenusModel(db *gorm.DB) *LdapGroupMenusModel {
return &LdapGroupMenusModel{db: db, name: "ldap_group_menus"}
}