import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ImportTask } from './import-task.entity';
import { ImportTaskService } from './import-task.service';
import { ImportTaskController } from './import-task.controller';
import { KnowledgeBaseModule } from '../knowledge-base/knowledge-base.module';
import { KnowledgeGroupModule } from '../knowledge-group/knowledge-group.module';

@Module({
    imports: [
        TypeOrmModule.forFeature([ImportTask]),
        KnowledgeBaseModule,
        KnowledgeGroupModule,
    ],
    controllers: [ImportTaskController],
    providers: [ImportTaskService],
})
export class ImportTaskModule { }
