<?php

declare(strict_types=1);

namespace Seka\Portal\Modul\Terminy\Events\Registracia;

use App\Models\Pouzivatel\Pouzivatel;
use Illuminate\Foundation\Events\Dispatchable;
use Seka\Portal\Modul\Terminy\Entities\Registracia\Registracia;

/**
 * Class RegistraciaEvent
 *
 * @package Seka\Portal\Modul\Terminy\Events\Registracia
 */
abstract class RegistraciaEvent
{
    use Dispatchable;

    /**
     * @var \App\Models\Pouzivatel\Pouzivatel
     */
    public Pouzivatel $notifiable;

    /**
     * @var \Seka\Portal\Modul\Terminy\Entities\Registracia\Registracia
     */
    public Registracia $registracia;

    /**
     * Udalost constructor.
     *
     * @param \Seka\Portal\Modul\Terminy\Entities\Registracia\Registracia $registracia
     */
    public function __construct(Registracia $registracia, $notifiable)
    {
        $this->notifiable = $notifiable;
        $this->registracia = $registracia;
    }
}
