go_dreamfactory/modules/gourmet/model_pagoda.go
2022-08-16 11:05:46 +08:00

21 lines
463 B
Go

package gourmet
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
type ModelPagoda struct {
modules.MCompModel
module *Gourmet
}
func (this *ModelPagoda) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
this.TableName = string(comm.TableGourmet)
err = this.MCompModel.Init(service, module, comp, options)
this.module = module.(*Gourmet)
return
}