add constraint for 4 digit zipcode
This commit is contained in:
parent
379121c777
commit
056a1764d8
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Offering
|
|||
/**
|
||||
* @ORM\Column(type="integer")
|
||||
*/
|
||||
#[Assert\NotBlank]
|
||||
#[Assert\Length(4)]
|
||||
private $zipCode;
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue