<?php

namespace App\Dto\Input;

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

final class CommandGroupExecuteInput
{
    /**
     * @var ClientOutput[]
     */
    #[Assert\NotNull]
    #[Groups(['command-group:write'])]
    #[ApiProperty(
        description: 'Los clientes donde ejecutar el grupo de comandos',
        example: []
    )]
    public array $clients = [];
}