]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Entity/Tags.php
Merge pull request #1066 from wallabag/v2-api-tests-entry
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Tags.php
CommitLineData
9d50517c
NL
1<?php
2
ad4d1caa 3namespace Wallabag\CoreBundle\Entity;
9d50517c
NL
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
9d50517c
NL
31 /**
32 * Get id
33 *
7df80cb3 34 * @return integer
9d50517c
NL
35 */
36 public function getId()
37 {
38 return $this->id;
39 }
40
41 /**
42 * Set value
43 *
7df80cb3 44 * @param string $value
9d50517c
NL
45 * @return Tags
46 */
47 public function setValue($value)
48 {
49 $this->value = $value;
50
51 return $this;
52 }
53
54 /**
55 * Get value
56 *
7df80cb3 57 * @return string
9d50517c
NL
58 */
59 public function getValue()
60 {
61 return $this->value;
62 }
63}