import { Module } from '@nestjs/common';
import { JwtModule } from '@nestjs/jwt';
import { AdminController } from './admin.controller';
import { AdminService } from './admin.service';
import { AdminGuard } from './admin.guard';
import { AdminAiAssistantService } from './ai-assistant.service';
import { AnalyticsController } from './analytics.controller';
import { SettingsController } from './settings.controller';
import { OperationsController } from './operations.controller';
import { UsersController } from './users.controller';
import { PublicController } from './public.controller';
import { CoursesModule } from '../courses/courses.module';
import { AuthModule } from '../auth/auth.module';
import { AIModule } from '../ai/ai.module';
import { PaymentModule } from '../payment/payment.module';

@Module({
  imports: [CoursesModule, AuthModule, AIModule, PaymentModule],
  controllers: [AdminController, AnalyticsController, SettingsController, OperationsController, UsersController, PublicController],
  providers: [AdminService, AdminGuard, AdminAiAssistantService],
  exports: [AdminService],
})
export class AdminModule {}
