import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MerchantOrderController } from './order.controller';
import { MerchantOrderService } from './order.service';
import { Order } from '@/entities/order.entity';
import { Room } from '@/entities/room.entity';
import { RoomCalendar } from '@/entities/room-calendar.entity';
import { MerchantProfileModule } from '../profile/profile.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Order, Room, RoomCalendar]),
    MerchantProfileModule,
  ],
  controllers: [MerchantOrderController],
  providers: [MerchantOrderService],
  exports: [MerchantOrderService],
})
export class MerchantOrderModule {}
