Adjust translation logic for gender in vue components

This commit is contained in:
2024-10-01 13:35:06 +02:00
parent 5fce9ee9fb
commit a47c8d916b
9 changed files with 13 additions and 44 deletions

View File

@@ -26,6 +26,7 @@ class Gender
private bool $active = true;
#[Assert\NotNull(message: 'You must choose a gender translation')]
#[Serializer\Groups(['read'])]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::STRING, enumType: GenderEnum::class)]
private GenderEnum $genderTranslation;