import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MerchantProfileController } from './profile.controller';
import { MerchantProfileService } from './profile.service';
import { Merchant } from '@/entities/merchant.entity';
import { MerchantAccount } from '@/entities/merchant-account.entity';
import { Room } from '@/entities/room.entity';
import { RoomCalendar } from '@/entities/room-calendar.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Merchant, MerchantAccount, Room, RoomCalendar]),
  ],
  controllers: [MerchantProfileController],
  providers: [MerchantProfileService],
  exports: [MerchantProfileService],
})
export class MerchantProfileModule {}
