1, 'hotel_id' => 1, 'room_id' => 1, 'start_date' => Carbon::now()->addDays(2)->format('Y-m-d'), 'end_date' => Carbon::now()->addDays(3)->format('Y-m-d'), 'start_time' => null, 'end_time' => null, 'block_type' => 'maintenance', 'blocked_inventory' => 2, 'priority' => 1, 'reason' => 'AC maintenance', 'auto_release' => true, 'created_by' => 1, // admin user id 'status' => 1, 'created_at' => Carbon::now(), 'updated_at' => Carbon::now(), ], [ 'restaurant_id' => 1, 'hotel_id' => 1, 'room_id' => 2, 'start_date' => Carbon::now()->addDays(1)->format('Y-m-d'), 'end_date' => Carbon::now()->addDays(1)->format('Y-m-d'), 'start_time' => '12:00:00', 'end_time' => '18:00:00', 'block_type' => 'deep_clean', 'blocked_inventory' => 1, 'priority' => 2, 'reason' => 'Daily deep cleaning', 'auto_release' => true, 'created_by' => 1, 'status' => 1, 'created_at' => Carbon::now(), 'updated_at' => Carbon::now(), ], ]; DB::table('room_blocks')->insert($blocks); } }