<?php

declare(strict_types=1);

namespace Seka\Terminy\Dtos;

use Carbon\Carbon;
use Seka\Terminy\Models\Udalost\DruhUdalosti;
use Seka\Terminy\Models\Udalost\StavUdalosti;
use Seka\Terminy\Models\Udalost\StavRegistracie;
use Spatie\DataTransferObject\FlexibleDataTransferObject;

/**
 * Class UdalostDTO
 *
 * @package Seka\Terminy\Dtos
 */
final class UdalostDTO extends FlexibleDataTransferObject
{
    use ModelToDTOTrait;

    /**
     * @var int|null
     */
    public ?int $id;

    /**
     * @var string
     */
    public string $nazov;

    /**
     * @var string|null
     */
    public ?string $popis;

    /**
     * @var \Carbon\Carbon
     */
    public Carbon $datum_od;

    /**
     * @var \Carbon\Carbon
     */
    public Carbon $datum_do;

    /**
     * @var \Seka\Terminy\Models\Udalost\DruhUdalosti
     */
    public DruhUdalosti $druh;

    /**
     * @var \Seka\Terminy\Models\Udalost\StavUdalosti
     */
    public StavUdalosti $stav;

    /**
     * @var \Seka\Terminy\Models\Udalost\StavRegistracie
     */
    public StavRegistracie $registracia;

    /**
     * @var \Seka\Terminy\Dtos\MiestoKonaniaDTO
     */
    public MiestoKonaniaDTO $miesto_konania;
}
