]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Entity/UsersConfig.php
create an Entry with a User in parameter
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / UsersConfig.php
CommitLineData
9d50517c
NL
1<?php
2
ad4d1caa 3namespace Wallabag\CoreBundle\Entity;
9d50517c
NL
4
5use Doctrine\ORM\Mapping as ORM;
6
7/**
8 * UsersConfig
9 *
10 * @ORM\Table(name="users_config")
11 * @ORM\Entity
12 */
13class UsersConfig
14{
15 /**
16 * @var integer
17 *
18 * @ORM\Column(name="id", type="integer", nullable=true)
19 * @ORM\Id
20 * @ORM\GeneratedValue(strategy="IDENTITY")
21 */
22 private $id;
23
24 /**
25 * @var string
26 *
27 * @ORM\Column(name="user_id", type="decimal", precision=10, scale=0, nullable=true)
28 */
29 private $userId;
30
31 /**
32 * @var string
33 *
34 * @ORM\Column(name="name", type="text", nullable=true)
35 */
36 private $name;
37
38 /**
39 * @var string
40 *
41 * @ORM\Column(name="value", type="text", nullable=true)
42 */
43 private $value;
44
9d50517c
NL
45 /**
46 * Get id
47 *
7df80cb3 48 * @return integer
9d50517c
NL
49 */
50 public function getId()
51 {
52 return $this->id;
53 }
54
55 /**
56 * Set userId
57 *
7df80cb3 58 * @param string $userId
9d50517c
NL
59 * @return UsersConfig
60 */
61 public function setUserId($userId)
62 {
63 $this->userId = $userId;
64
65 return $this;
66 }
67
68 /**
69 * Get userId
70 *
7df80cb3 71 * @return string
9d50517c
NL
72 */
73 public function getUserId()
74 {
75 return $this->userId;
76 }
77
78 /**
79 * Set name
80 *
7df80cb3 81 * @param string $name
9d50517c
NL
82 * @return UsersConfig
83 */
84 public function setName($name)
85 {
86 $this->name = $name;
87
88 return $this;
89 }
90
91 /**
92 * Get name
93 *
7df80cb3 94 * @return string
9d50517c
NL
95 */
96 public function getName()
97 {
98 return $this->name;
99 }
100
101 /**
102 * Set value
103 *
7df80cb3 104 * @param string $value
9d50517c
NL
105 * @return UsersConfig
106 */
107 public function setValue($value)
108 {
109 $this->value = $value;
110
111 return $this;
112 }
113
114 /**
115 * Get value
116 *
7df80cb3 117 * @return string
9d50517c
NL
118 */
119 public function getValue()
120 {
121 return $this->value;
122 }
123}