endpoints created for profession and civility for use in vue component

This commit is contained in:
2022-01-13 14:33:57 +01:00
parent 424d0533b8
commit a39bd79930
6 changed files with 54 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ class ThirdPartyProfession
{
/**
* @ORM\Column(type="boolean")
* @Serializer\Groups({"read"})
*/
private bool $active = true;
@@ -30,13 +31,13 @@ class ThirdPartyProfession
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
* @Serializer\Groups({"docgen:read"})
* @Serializer\Groups({"docgen:read", "read"})
*/
private ?int $id = null;
/**
* @ORM\Column(type="json")
* @Serializer\Groups({"docgen:read"})
* @Serializer\Groups({"docgen:read", "read"})
*/
private array $name = [];