mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
parent
1a93ee423b
commit
164bd80118
9 changed files with 92 additions and 8 deletions
|
@ -13,7 +13,7 @@ use JMS\Serializer\Annotation\XmlRoot;
|
|||
*
|
||||
* @XmlRoot("entry")
|
||||
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\EntryRepository")
|
||||
* @ORM\Table(name="entry")
|
||||
* @ORM\Table
|
||||
* @ORM\HasLifecycleCallbacks()
|
||||
* @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
|
||||
*/
|
||||
|
@ -121,7 +121,7 @@ class Entry
|
|||
|
||||
/**
|
||||
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"})
|
||||
* @ORM\JoinTable(name="entry_tags")
|
||||
* @ORM\JoinTable
|
||||
*/
|
||||
private $tags;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue