]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Tag.php
remove dumb code
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Tag.php
index 963f32b1ef20df88b334a3c6a658c55ea926d97e..0d7f8c2b26201850f1cf133e51ad510a1dc1f57d 100644 (file)
@@ -3,12 +3,14 @@
 namespace Wallabag\CoreBundle\Entity;
 
 use Doctrine\ORM\Mapping as ORM;
+use JMS\Serializer\Annotation\XmlRoot;
 
 /**
  * Tag
  *
+ * @XmlRoot("tag")
  * @ORM\Table(name="tag")
- * @ORM\Entity
+ * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository")
  */
 class Tag
 {