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

@Module({
  imports: [
    TypeOrmModule.forFeature([Room, RoomCalendar]),
    MerchantProfileModule,
  ],
  controllers: [MerchantRoomController],
  providers: [MerchantRoomService],
  exports: [MerchantRoomService],
})
export class MerchantRoomModule {}
