aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WallabagBundle/Entity/Entries.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WallabagBundle/Entity/Entries.php')
-rw-r--r--src/WallabagBundle/Entity/Entries.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WallabagBundle/Entity/Entries.php b/src/WallabagBundle/Entity/Entries.php
index b364e0c3..5849a216 100644
--- a/src/WallabagBundle/Entity/Entries.php
+++ b/src/WallabagBundle/Entity/Entries.php
@@ -3,6 +3,7 @@
3namespace WallabagBundle\Entity; 3namespace WallabagBundle\Entity;
4 4
5use Doctrine\ORM\Mapping as ORM; 5use Doctrine\ORM\Mapping as ORM;
6use Symfony\Component\Validator\Constraints as Assert;
6 7
7/** 8/**
8 * Entries 9 * Entries
@@ -31,6 +32,7 @@ class Entries
31 /** 32 /**
32 * @var string 33 * @var string
33 * 34 *
35 * @Assert\NotBlank()
34 * @ORM\Column(name="url", type="text", nullable=true) 36 * @ORM\Column(name="url", type="text", nullable=true)
35 */ 37 */
36 private $url; 38 private $url;