import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AiInterviewSchedules } from './entities/ai_interview_schedules.entity';
import { AiInterviewSchedulesService } from './ai_interview_schedules.service';
import { AiInterviewSchedulesController } from './ai_interview_schedules.controller';
import { EmailTokensModule } from '../email_tokens/email_tokens.module';

import { JobPosts } from '../job_posts/entities/job_posts.entity';
import { JobPostAiSettings } from '../job_post_ai_settings/entities/job_post_ai_settings.entity';
import { QuestionBankModule } from '../question_bank/question_bank.module';
import { Roles } from '../roles/entities/roles.entity';
import { UserAiInterviewsModule } from '../user_ai_interviews/user_ai_interviews.module';
import { SeekerProfiles } from '../seeker_profiles/entities/seeker_profiles.entity';
import { JobPostSkills } from '../job_post_skills/entities/job_post_skills.entity';
import { Skills } from '../skills/entities/skills.entity';
import { Experience } from '../experience/entities/experience.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      AiInterviewSchedules,
      JobPosts,
      JobPostAiSettings,
      Roles,
      SeekerProfiles,
      JobPostSkills,
      Skills,
      Experience,
    ]),
    EmailTokensModule,
    QuestionBankModule,
    UserAiInterviewsModule,
  ],
  controllers: [AiInterviewSchedulesController],
  providers: [AiInterviewSchedulesService],
  exports: [AiInterviewSchedulesService],
})
export class AiInterviewSchedulesModule {}
