<?php

namespace Database\Seeders;

use App\Models\GuestRoom;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class GuestRoomSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        if (GuestRoom::count() === 0) {
            GuestRoom::create(
                [
                    // 'uuid' => Str::orderedUuid(),
                    'room_name' => 'Room 1',
                    'capactity' => 3,
                    'per_hour_charges' => 10,
                    'layout' => ''
                ],
                [
                    // 'uuid' => Str::orderedUuid(),
                    'room_name' => 'Room 2',
                    'capactity' => 2,
                    'per_hour_charges' => 5,
                    'layout' => ''
                ]
            );
        }
    }
}
