forked from wallabag/wallabag
@ -9,7 +9,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
* Config.
|
||||
*
|
||||
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\ConfigRepository")
|
||||
* @ORM\Table
|
||||
* @ORM\Table(name="`config`")
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class Config
|
||||
|
||||
@ -14,7 +14,7 @@ use Wallabag\UserBundle\Entity\User;
|
||||
*
|
||||
* @XmlRoot("entry")
|
||||
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\EntryRepository")
|
||||
* @ORM\Table
|
||||
* @ORM\Table(name="`entry`")
|
||||
* @ORM\HasLifecycleCallbacks()
|
||||
* @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
|
||||
*/
|
||||
|
||||
@ -12,7 +12,7 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||
* Tag.
|
||||
*
|
||||
* @XmlRoot("tag")
|
||||
* @ORM\Table
|
||||
* @ORM\Table(name="`tag`")
|
||||
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository")
|
||||
* @ExclusionPolicy("all")
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user