diff --git a/src/Entity/PrivacyPolicy.php b/src/Entity/PrivacyPolicy.php index c3fbcb55..5dbdc598 100644 --- a/src/Entity/PrivacyPolicy.php +++ b/src/Entity/PrivacyPolicy.php @@ -3,6 +3,7 @@ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; +use Doctrine\Common\Collections\ArrayCollection; use Symfony\Component\Validator\Constraints as Assert; /** @@ -22,6 +23,7 @@ class PrivacyPolicy // name /** * @ORM\Column(type="string", length=80) + * @Assert\NotBlank() */ protected $name;