<?php

declare(strict_types=1);

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

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

/**
 * Class Udalost
 *
 * @package Seka\Portal\Modul\Terminy\Events\Udalost
 */
abstract class AktualizovanaUdalostEvent extends UdalostEvent
{
    /**
     * @var \Seka\Portal\Modul\Terminy\Entities\Udalost\Udalost
     */
    public Udalost $udalostPovodna;

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

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