package task import ( "go_dreamfactory/lego/core" "go_dreamfactory/modules" ) const ( //Redis TableTask core.SqlTable = "task" //任务表 ) type ModelTask struct { modules.MCompModel } func (this *ModelTask) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { err = this.MCompModel.Init(service, module, comp, options) this.TableName = string(TableTask) return }