diff options
Diffstat (limited to 'src/WallabagBundle/Entity')
-rw-r--r-- | src/WallabagBundle/Entity/Entries.php | 2 |
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 @@ | |||
3 | namespace WallabagBundle\Entity; | 3 | namespace WallabagBundle\Entity; |
4 | 4 | ||
5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | use 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; |