<?php

declare(strict_types=1);

namespace Seka\Vzdelavanie\Events\Testovanie;

use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Contracts\Auth\Authenticatable;
use Seka\Vzdelavanie\Models\Testovanie\Test;

/**
 * Class TestGenerated
 *
 * @package Seka\Vzdelavanie\Events\Testovanie
 */
final class TestGenerated
{
    use Dispatchable, SerializesModels;

    /**
     * @var \Seka\Vzdelavanie\Models\Testovanie\Test
     */
    public Test $test;

    /**
     * @var \Illuminate\Contracts\Auth\Authenticatable
     */
    public Authenticatable $pouzivatel;

    /**
     * TestGenerated constructor.
     *
     * @param \Seka\Vzdelavanie\Models\Testovanie\Test   $test
     * @param \Illuminate\Contracts\Auth\Authenticatable $pouzivatel
     */
    public function __construct(Test $test, Authenticatable $pouzivatel)
    {
        $this->test = $test;
        $this->pouzivatel = $pouzivatel;
    }
}
