]>
Commit | Line | Data |
---|---|---|
970c40bb NL |
1 | <?php |
2 | ||
3 | namespace Wallabag\CoreBundle\Entity; | |
4 | ||
5 | use Doctrine\ORM\Mapping as ORM; | |
6 | ||
7 | /** | |
8 | * TagsEntries | |
9 | * | |
10 | * @ORM\Table(name="tags_entries") | |
11 | * @ORM\Entity | |
12 | */ | |
13 | class TagsEntries | |
14 | { | |
15 | /** | |
16 | * @var integer | |
17 | * | |
fb8389f4 | 18 | * @ORM\Column(name="id", type="integer") |
970c40bb | 19 | * @ORM\Id |
fb8389f4 | 20 | * @ORM\GeneratedValue(strategy="AUTO") |
970c40bb NL |
21 | */ |
22 | private $id; | |
23 | ||
24 | /** | |
25 | * @var integer | |
26 | * | |
fb8389f4 | 27 | * @ORM\Column(name="entry_id", type="integer") |
970c40bb NL |
28 | */ |
29 | private $entryId; | |
30 | ||
31 | /** | |
32 | * @var integer | |
33 | * | |
fb8389f4 | 34 | * @ORM\Column(name="tag_id", type="integer") |
970c40bb NL |
35 | */ |
36 | private $tagId; | |
37 | ||
38 | /** | |
39 | * Get id | |
40 | * | |
41 | * @return integer | |
42 | */ | |
43 | public function getId() | |
44 | { | |
45 | return $this->id; | |
46 | } | |
47 | ||
48 | /** | |
49 | * Set entryId | |
50 | * | |
51 | * @param integer $entryId | |
52 | * @return TagsEntries | |
53 | */ | |
54 | public function setEntryId($entryId) | |
55 | { | |
56 | $this->entryId = $entryId; | |
57 | ||
58 | return $this; | |
59 | } | |
60 | ||
61 | /** | |
62 | * Get entryId | |
63 | * | |
64 | * @return integer | |
65 | */ | |
66 | public function getEntryId() | |
67 | { | |
68 | return $this->entryId; | |
69 | } | |
70 | ||
71 | /** | |
72 | * Set tagId | |
73 | * | |
74 | * @param integer $tagId | |
75 | * @return TagsEntries | |
76 | */ | |
77 | public function setTagId($tagId) | |
78 | { | |
79 | $this->tagId = $tagId; | |
80 | ||
81 | return $this; | |
82 | } | |
83 | ||
84 | /** | |
85 | * Get tagId | |
86 | * | |
87 | * @return integer | |
88 | */ | |
89 | public function getTagId() | |
90 | { | |
91 | return $this->tagId; | |
92 | } | |
93 | } |