We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7349ef commit cc05491Copy full SHA for cc05491
app/src/Entity/Civility.php
@@ -34,6 +34,9 @@ class Civility implements CivilityInterface
34
*
35
* @ORM\Column(name="name", type="string")
36
* @Assert\NotBlank
37
+ * @Assert\Length(
38
+ * max = 255
39
+ * )
40
* @Groups({"Default","user_info"})
41
*/
42
private $name;
@@ -45,6 +48,9 @@ class Civility implements CivilityInterface
45
48
46
49
* @ORM\Column(name="code", type="string", length=10)
47
50
51
52
+ * max = 10
53
54
55
56
private $code;
0 commit comments