import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ProfileService } from './profile.service';
import { ProfileController } from './profile.controller';
import { Character } from '../character/entities/character.entity';
import { PlayerAchievement } from '../achievement/player-achievement.entity';
import { HallOfFame } from '../halloffame/hall-of-fame.entity';
import { AuthModule } from '../auth/auth.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Character, PlayerAchievement, HallOfFame]),
    AuthModule,
  ],
  controllers: [ProfileController],
  providers: [ProfileService],
})
export class ProfileModule {}
