diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tag.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Tag.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index 963f32b1..0d7f8c2b 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php | |||
@@ -3,12 +3,14 @@ | |||
3 | namespace Wallabag\CoreBundle\Entity; | 3 | namespace Wallabag\CoreBundle\Entity; |
4 | 4 | ||
5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | use JMS\Serializer\Annotation\XmlRoot; | ||
6 | 7 | ||
7 | /** | 8 | /** |
8 | * Tag | 9 | * Tag |
9 | * | 10 | * |
11 | * @XmlRoot("tag") | ||
10 | * @ORM\Table(name="tag") | 12 | * @ORM\Table(name="tag") |
11 | * @ORM\Entity | 13 | * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository") |
12 | */ | 14 | */ |
13 | class Tag | 15 | class Tag |
14 | { | 16 | { |