import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MerchantReviewController } from './review.controller';
import { MerchantReviewService } from './review.service';
import { Review } from '@/entities/review.entity';
import { MerchantProfileModule } from '../profile/profile.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Review]),
    MerchantProfileModule,
  ],
  controllers: [MerchantReviewController],
  providers: [MerchantReviewService],
  exports: [MerchantReviewService],
})
export class MerchantReviewModule {}
