firstname property added to thirdparty + canonicalize function adapted

This commit is contained in:
2022-03-14 09:35:22 +01:00
parent d6933fce35
commit 00787adf2b
3 changed files with 51 additions and 9 deletions

View File

@@ -222,6 +222,15 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
*/
private ?string $name = '';
/**
* @ORM\Column(name="firstname", type="string", length=255)
* @Assert\Length(min="2")
* @Assert\NotNull
* @Assert\NotBlank
* @Groups({"read", "write", "docgen:read", "docgen:read:3party:parent"})
*/
private ?string $firstname = '';
/**
* [fr] Raison sociale.
*