2024-08-03 14:37:54 +08:00

31 lines
391 B
Go

package mt
import (
"f5"
"main/mtb"
)
type AdminDb struct {
mtb.AdminDb
}
type AdminDbTable struct {
f5.IdMetaTable[AdminDb]
selfConf *AdminDb
}
func (this *AdminDb) Init1() {
}
func (this *AdminDbTable) GetConf() *AdminDb {
return this.selfConf
}
func (this *AdminDbTable) PostInit1() {
this.selfConf = this.GetById(0)
if this.selfConf == nil {
panic("adminDb error")
}
}