<?php

namespace App\Domain\Training\Events;

use App\Domain\Training\Models\TrainingGroup;
use App\Domain\Training\Models\Waitlist;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class WaitlistSpotAvailable implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public TrainingGroup $group,
        public Waitlist $waitlist,
    ) {}
}
