import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RevenueController } from './revenue.controller';
import { RevenueService } from './revenue.service';
import { AggregatedMetric } from '../entities/aggregated-metric.entity';

@Module({
  imports: [TypeOrmModule.forFeature([AggregatedMetric])],
  controllers: [RevenueController],
  providers: [RevenueService],
  exports: [RevenueService],
})
export class RevenueModule {}
