<?php

namespace App\Domain\Shared\Events;

use App\Domain\Shared\Models\ServiceRequest;
use App\Models\User;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class ServiceRequestResolved implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public ServiceRequest $serviceRequest,
        public User $actor,
    ) {}
}
