aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Tags.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-23 16:28:37 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-23 16:28:37 +0100
commitad4d1caa9e744af57ca58a4e57576533eb682d00 (patch)
tree37d6c284d2afc7fc62cdf80be419b536ab4ea603 /src/Wallabag/CoreBundle/Entity/Tags.php
parentb84a80559a1167b5500fbc5eb4965d3b08b371ef (diff)
downloadwallabag-ad4d1caa9e744af57ca58a4e57576533eb682d00.tar.gz
wallabag-ad4d1caa9e744af57ca58a4e57576533eb682d00.tar.zst
wallabag-ad4d1caa9e744af57ca58a4e57576533eb682d00.zip
move WallabagBundle into Wallabag:CoreBundle
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tags.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Tags.php65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tags.php b/src/Wallabag/CoreBundle/Entity/Tags.php
new file mode 100644
index 00000000..6fe16a53
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Entity/Tags.php
@@ -0,0 +1,65 @@
1<?php
2
3namespace Wallabag\CoreBundle\Entity;
4
5use Doctrine\ORM\Mapping as ORM;
6
7/**
8 * Tags
9 *
10 * @ORM\Table(name="tags")
11 * @ORM\Entity
12 */
13class Tags
14{
15 /**
16 * @var integer
17 *
18 * @ORM\Column(name="id", type="integer", nullable=false)
19 * @ORM\Id
20 * @ORM\GeneratedValue(strategy="IDENTITY")
21 */
22 private $id;
23
24 /**
25 * @var string
26 *
27 * @ORM\Column(name="value", type="text", nullable=true)
28 */
29 private $value;
30
31
32
33 /**
34 * Get id
35 *
36 * @return integer
37 */
38 public function getId()
39 {
40 return $this->id;
41 }
42
43 /**
44 * Set value
45 *
46 * @param string $value
47 * @return Tags
48 */
49 public function setValue($value)
50 {
51 $this->value = $value;
52
53 return $this;
54 }
55
56 /**
57 * Get value
58 *
59 * @return string
60 */
61 public function getValue()
62 {
63 return $this->value;
64 }
65}