import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { QuestionBankService } from './question_bank.service';
import { QuestionBankController } from './question_bank.controller';
import { QuestionBank } from './entities/question_bank.entity';
import { McqOptions } from '../mcq_options/entities/mcq_options.entity';
import { Skills } from '../skills/entities/skills.entity';

@Module({
  imports: [TypeOrmModule.forFeature([QuestionBank, McqOptions, Skills])],
  controllers: [QuestionBankController],
  providers: [QuestionBankService],
  exports: [QuestionBankService],
})
export class QuestionBankModule {}
