]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Entity/Tag.php
remove isDeleted flag
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Tag.php
CommitLineData
9d50517c
NL
1<?php
2
ad4d1caa 3namespace Wallabag\CoreBundle\Entity;
9d50517c
NL
4
5use Doctrine\ORM\Mapping as ORM;
6
7/**
653e8be4 8 * Tag
9d50517c 9 *
653e8be4 10 * @ORM\Table(name="tag")
9d50517c
NL
11 * @ORM\Entity
12 */
653e8be4 13class Tag
9d50517c
NL
14{
15 /**
16 * @var integer
17 *
653e8be4 18 * @ORM\Column(name="id", type="integer")
9d50517c 19 * @ORM\Id
653e8be4 20 * @ORM\GeneratedValue(strategy="AUTO")
9d50517c
NL
21 */
22 private $id;
23
24 /**
25 * @var string
26 *
653e8be4 27 * @ORM\Column(name="label", type="text")
9d50517c 28 */
653e8be4 29 private $label;
9d50517c 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 /**
653e8be4 42 * Set label
9d50517c 43 *
653e8be4
NL
44 * @param string $label
45 * @return Tag
9d50517c 46 */
653e8be4 47 public function setLabel($label)
9d50517c 48 {
653e8be4 49 $this->label = $label;
9d50517c
NL
50
51 return $this;
52 }
53
54 /**
653e8be4 55 * Get label
9d50517c 56 *
7df80cb3 57 * @return string
9d50517c 58 */
653e8be4 59 public function getLabel()
9d50517c
NL
60 {
61 return $this->value;
62 }
63}