refs #423. Some improvements Client Output

pull/7/head
Manuel Aranda Rosales 2024-06-21 11:11:57 +02:00
parent 5168d44fd4
commit 43099c6bcc
1 changed files with 5 additions and 0 deletions

View File

@ -11,9 +11,14 @@ use Symfony\Component\Serializer\Annotation\Groups;
#[Get(shortName: 'Client')]
final class ClientOutput extends AbstractOutput
{
CONST string TYPE = 'client';
#[Groups(['client:read'])]
public string $name;
#[Groups(['client:read'])]
public string $type = self::TYPE;
#[Groups(['client:read'])]
public ?string $serialNumber = '';