<?php

namespace App\Dto\Input;

use ApiPlatform\Metadata\ApiProperty;
use App\Dto\Output\ImageOutput;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;

class ExportImportImageRepositoryInput
{
    /**
     * @var ImageOutput[]
     */
    #[Assert\NotNull]
    #[Groups(['repository:write'])]
    #[ApiProperty(
        description: 'Las imágenes a exportar o importar',
        example: []
    )]
    public array $images = [];
}