29 lines
577 B
PHP
29 lines
577 B
PHP
<?php
|
|
|
|
namespace App\Dto\Input;
|
|
|
|
use ApiPlatform\Metadata\ApiProperty;
|
|
use App\Dto\Output\ClientOutput;
|
|
use Symfony\Component\Serializer\Annotation\Groups;
|
|
|
|
final class MultipleClientsInput
|
|
{
|
|
/**
|
|
* @var ClientOutput[]
|
|
*/
|
|
#[Groups(['client:write'])]
|
|
#[ApiProperty(
|
|
description: 'Los clientes para la operación múltiple',
|
|
example: []
|
|
)]
|
|
public array $clients = [];
|
|
|
|
#[Groups(['client:write'])]
|
|
#[ApiProperty(
|
|
description: 'Si encolar la operación',
|
|
example: false
|
|
)]
|
|
public bool $queue = false;
|
|
}
|
|
|