import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MerchantStatisticsController } from './statistics.controller';
import { MerchantStatisticsService } from './statistics.service';
import { Order } from '@/entities/order.entity';
import { MerchantProfileModule } from '../profile/profile.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Order]),
    MerchantProfileModule,
  ],
  controllers: [MerchantStatisticsController],
  providers: [MerchantStatisticsService],
  exports: [MerchantStatisticsService],
})
export class MerchantStatisticsModule {}
