package gmodel

import (
	"gorm.io/gorm"
)

// ldap_user ldap_用户id递增表
type LdapUser struct {
	Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` //
}
type LdapUserModel struct {
	db   *gorm.DB
	name string
}

func NewLdapUserModel(db *gorm.DB) *LdapUserModel { return &LdapUserModel{db: db, name: "ldap_user"} }