<?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 as UdalostModel;

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

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

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