fusenapi/model/gmodel/ldap_group_menus_gen.go
laodaming 01b6046d5a fix
2023-11-15 14:42:14 +08:00

20 lines
421 B
Go

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"}
}