<?php

namespace Velis\Test\Dto\Concrete\Dto;

use Velis\Dto\BaseDto;
use Velis\Dto\Utility\Optional;
use Velis\Dto\Validators\ArrayOf;

class NestedStructureSerializationDto extends BaseDto
{
    public string $name;
    #[ArrayOf(TestDto::class)]
    public Optional|array $testDtos;
}
