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 }