3 namespace Wallabag\CoreBundle\Entity
;
5 use Doctrine\ORM\Mapping
as ORM
;
10 * @ORM\Table(name="users_config")
18 * @ORM\Column(name="id", type="integer", nullable=true)
20 * @ORM\GeneratedValue(strategy="IDENTITY")
25 * @ORM\ManyToOne(targetEntity="User", inversedBy="config")
32 * @ORM\Column(name="name", type="text", nullable=true)
39 * @ORM\Column(name="value", type="text", nullable=true)
48 public function getId()
59 public function setName($name)
71 public function getName()
79 * @param string $value
82 public function setValue($value)
84 $this->value
= $value;
94 public function getValue()
102 * @param \Wallabag\CoreBundle\Entity\User $user
103 * @return UsersConfig
105 public function setUser(\Wallabag\CoreBundle\Entity\User
$user = null)
115 * @return \Wallabag\CoreBundle\Entity\User
117 public function getUser()