<?php

declare(strict_types=1);

namespace Seka\Portal\Modul\Terminy\Entities\Dtos;

use App\Dtos\PouzivatelDto;
use App\Dtos\PracoviskoDto;
use Spatie\LaravelData\Attributes\DataCollectionOf;
use Spatie\LaravelData\Data;
use Spatie\LaravelData\Optional;

/**
 * Class RegistraciaDTO
 *
 * @package Seka\Portal\Modul\Terminy\Entities\Dtos
 */
final class RegistraciaDTO extends Data
{
    public ?int $id;

    public ?string $meno;

    public ?string $priezvisko;

    public ?string $cele_meno;

    public ?string $poznamka;

    public UdalostDTO $udalost;

    public PouzivatelDto $vytvoril;

    public ?PouzivatelDto $pouzivatel;

    public PracoviskoDto $pracovisko;

    #[DataCollectionOf(ZvoleneMoznostiDTO::class)]
    public array|Optional $moznosti;
}
