import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CohortsController } from './cohorts.controller';
import { CohortsService } from './cohorts.service';
import { AggregatedMetric } from '../entities/aggregated-metric.entity';

@Module({
  imports: [TypeOrmModule.forFeature([AggregatedMetric])],
  controllers: [CohortsController],
  providers: [CohortsService],
  exports: [CohortsService],
})
export class CohortsModule {}
