aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/TagsEntries.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-24 07:42:09 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-06 20:50:31 +0100
commit46bbd8d321e6a00131f0e6ed96fa6f3d693b3678 (patch)
tree331d511837716ec7a7956c35f51dc3a14a1ca11c /src/Wallabag/CoreBundle/Entity/TagsEntries.php
parent6c87418ff013cfd03093c3f01e20518e580d80bb (diff)
downloadwallabag-46bbd8d321e6a00131f0e6ed96fa6f3d693b3678.tar.gz
wallabag-46bbd8d321e6a00131f0e6ed96fa6f3d693b3678.tar.zst
wallabag-46bbd8d321e6a00131f0e6ed96fa6f3d693b3678.zip
relation between tags and entries
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/TagsEntries.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/TagsEntries.php81
1 files changed, 0 insertions, 81 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/TagsEntries.php b/src/Wallabag/CoreBundle/Entity/TagsEntries.php
deleted file mode 100644
index 589f26f8..00000000
--- a/src/Wallabag/CoreBundle/Entity/TagsEntries.php
+++ /dev/null
@@ -1,81 +0,0 @@
1<?php
2
3namespace Wallabag\CoreBundle\Entity;
4
5use Doctrine\ORM\Mapping as ORM;
6
7/**
8 * TagsEntries
9 *
10 * @ORM\Table(name="tags_entries")
11 */
12class TagsEntries
13{
14 /**
15 * @var integer
16 *
17 * @ORM\Column(name="id", type="integer")
18 * @ORM\Id
19 * @ORM\GeneratedValue(strategy="AUTO")
20 */
21 private $id;
22
23 /**
24 *
25 * @ORM\ManyToOne(targetEntity="Entry", inversedBy="tags_entries")
26 * @ORM\JoinColumn(name="entry_id", referencedColumnName="id")
27 *
28 */
29 private $entryId;
30
31 /**
32 *
33 * @ORM\ManyToOne(targetEntity="Tag", inversedBy="tags_entries")
34 * @ORM\JoinColumn(name="tag_id", referencedColumnName="id")
35 *
36 */
37 private $tagId;
38
39 /**
40 * Get id
41 *
42 * @return integer
43 */
44 public function getId()
45 {
46 return $this->id;
47 }
48
49 /**
50 * @return mixed
51 */
52 public function getEntryId()
53 {
54 return $this->entryId;
55 }
56
57 /**
58 * @param mixed $entryId
59 */
60 public function setEntryId($entryId)
61 {
62 $this->entryId = $entryId;
63 }
64
65 /**
66 * @return mixed
67 */
68 public function getTagId()
69 {
70 return $this->tagId;
71 }
72
73 /**
74 * @param mixed $tagId
75 */
76 public function setTagId($tagId)
77 {
78 $this->tagId = $tagId;
79 }
80
81}