<?php

declare(strict_types=1);

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

use Seka\Portal\Modul\Terminy\Entities\Udalost\Udalost as UdalostModel;

/**
 * Class UdalostBolaAktualizovana
 *
 * @package Seka\Portal\Modul\Terminy\Events\Udalost
 */
final class UdalostBolaAktualizovana extends Udalost
{
    /**
     * @var \Seka\Portal\Modul\Terminy\Entities\Udalost\Udalost
     */
    public UdalostModel $udalostPovodna;

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

        return parent::__construct($udalost);
    }
}
