<?php

declare(strict_types=1);

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

use Illuminate\Foundation\Events\Dispatchable;
use Seka\Portal\Modul\Terminy\Entities\Udalost\Udalost;

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

    /**
     * @var \Seka\Portal\Modul\Terminy\Entities\Udalost\Udalost
     */
    public Udalost $udalost;

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