import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { HallOfFame } from './hall-of-fame.entity';
import { CommunityContribution } from '../community/community-contribution.entity';
import { HallOfFameService } from './halloffame.service';
import { HallOfFameController } from './halloffame.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([HallOfFame, CommunityContribution]),
  ],
  controllers: [HallOfFameController],
  providers: [HallOfFameService],
  exports: [HallOfFameService],
})
export class HallOfFameModule {}
