<?php

namespace App\Domain\Facility\Events;

use App\Domain\Facility\Models\SpaceReservation;
use App\Models\User;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class SpaceReservationCreated implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public SpaceReservation $reservation,
        public User $actor,
    ) {}
}
