mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
remove unnecessary constraints from 3party properties acronym and nameCompany
This commit is contained in:
parent
f60a595ab6
commit
3fd6e52e9d
@ -85,7 +85,7 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface, \Strin
|
||||
/**
|
||||
* [fr] Sigle.
|
||||
*/
|
||||
#[Assert\Length(min: 2)]
|
||||
// #[Assert\Length(min: 2)]
|
||||
#[Groups(['read', 'write', 'docgen:read', 'docgen:read:3party:parent'])]
|
||||
#[ORM\Column(name: 'acronym', type: \Doctrine\DBAL\Types\Types::STRING, length: 64, nullable: true)]
|
||||
private ?string $acronym = '';
|
||||
@ -184,7 +184,7 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface, \Strin
|
||||
/**
|
||||
* [fr] Raison sociale.
|
||||
*/
|
||||
#[Assert\Length(min: 3)]
|
||||
// #[Assert\Length(min: 3)]
|
||||
#[Groups(['read', 'write', 'docgen:read', 'docgen:read:3party:parent'])]
|
||||
#[ORM\Column(name: 'name_company', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $nameCompany = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user