<?php

namespace App\Dto\Input;

use ApiPlatform\Metadata\ApiProperty;
use App\Dto\Output\ClientOutput;
use App\Dto\Output\PartitionOutput;
use Symfony\Component\Serializer\Annotation\Groups;

final class BootClientsInput
{
    /**
     * @var ClientOutput[]
     */
    #[Groups(['client:write'])]
    #[ApiProperty(
        description: 'Los clientes a arrancar',
        example: []
    )]
    public array $clients = [];

    #[Groups(['client:write'])]
    #[ApiProperty(
        description: 'La partición desde la que arrancar',
        example: null
    )]
    public ?PartitionOutput $partition = null;
}

