refs #423. Some improvements Client Output
parent
5168d44fd4
commit
43099c6bcc
|
@ -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 = '';
|
||||
|
||||
|
|
Loading…
Reference in New Issue