]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Entity/Config.php
Merge pull request #1070 from wallabag/v2-api-tests
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Config.php
CommitLineData
9d50517c
NL
1<?php
2
ad4d1caa 3namespace Wallabag\CoreBundle\Entity;
9d50517c
NL
4
5use Doctrine\ORM\Mapping as ORM;
6
7/**
8 * Config
9 *
10 * @ORM\Table(name="config")
11 * @ORM\Entity
12 */
13class Config
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="name", type="string", nullable=true)
28 */
29 private $name;
30
31 /**
32 * @var string
33 *
34 * @ORM\Column(name="value", type="blob", nullable=true)
35 */
36 private $value;
37
9d50517c
NL
38 /**
39 * Get id
40 *
7df80cb3 41 * @return integer
9d50517c
NL
42 */
43 public function getId()
44 {
45 return $this->id;
46 }
47
48 /**
49 * Set name
50 *
7df80cb3 51 * @param string $name
9d50517c
NL
52 * @return Config
53 */
54 public function setName($name)
55 {
56 $this->name = $name;
57
58 return $this;
59 }
60
61 /**
62 * Get name
63 *
7df80cb3 64 * @return string
9d50517c
NL
65 */
66 public function getName()
67 {
68 return $this->name;
69 }
70
71 /**
72 * Set value
73 *
7df80cb3 74 * @param string $value
9d50517c
NL
75 * @return Config
76 */
77 public function setValue($value)
78 {
79 $this->value = $value;
80
81 return $this;
82 }
83
84 /**
85 * Get value
86 *
7df80cb3 87 * @return string
9d50517c
NL
88 */
89 public function getValue()
90 {
91 return $this->value;
92 }
93}