import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CommunityGoal } from './community-goal.entity';
import { CommunityContribution } from './community-contribution.entity';
import { ActiveBoost } from './active-boost.entity';
import { CommunityService } from './community.service';
import { CommunityController } from './community.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([CommunityGoal, CommunityContribution, ActiveBoost]),
  ],
  controllers: [CommunityController],
  providers: [CommunityService],
  exports: [CommunityService],
})
export class CommunityModule {}
