<?php

namespace App\Domains\Notification\Events;

use App\Domains\Purchase\Models\Purchase;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class TicketsAvailable
{
    use Dispatchable, SerializesModels;

    /**
     * @param  array<int, int>  $ticketIds
     */
    public function __construct(
        public readonly Purchase $purchase,
        public readonly array $ticketIds,
    ) {}
}
