<?php

namespace App\Dto\Input;

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

class TransferGlobalImageInput
{
    /**
     * @var ImageOutput[]
     */
    #[Assert\NotNull]
    #[Groups(['image-image-repository:write'])]
    #[ApiProperty(
        description: 'Los repositorios de destino para transferir la imagen global',
        example: []
    )]
    public array $repositories = [];
}