<?php

namespace App\Domain\Scheduling\Events;

use App\Domain\Scheduling\Models\Assignment;
use App\Models\User;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class AssignmentCreated implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public Assignment $assignment,
        public User $actor,
    ) {}
}
