import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MockTestAttemptsService } from './mock_test_attempts.service';
import { MockTestAttemptsController } from './mock_test_attempts.controller';
import { MockTestAttempts } from './entities/mock_test_attempts.entity';
import { CandidateAnswer } from '../candidate_answers/entities/candidate_answers.entity';
import { QuestionBank } from '../question_bank/entities/question_bank.entity';
import { McqOptions } from '../mcq_options/entities/mcq_options.entity';
import { CandidateFeedback } from '../candidate_feedback/entities/candidate_feedback.entity';
import { CandidateFeedbackModule } from '../candidate_feedback/candidate_feedback.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      MockTestAttempts,
      CandidateAnswer,
      QuestionBank,
      McqOptions,
      CandidateFeedback,
    ]),
    CandidateFeedbackModule,
  ],
  controllers: [MockTestAttemptsController],
  providers: [MockTestAttemptsService],
})
export class MockTestAttemptsModule {}
