<?php namespace WallabagBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Config * * @ORM\Table(name="config") * @ORM\Entity */ class Config { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") */ private $id; /** * @var string * * @ORM\Column(name="name", type="string", nullable=true) */ private $name; /** * @var string * * @ORM\Column(name="value", type="blob", nullable=true) */ private $value; /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set name * * @param string $name * @return Config */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set value * * @param string $value * @return Config */ public function setValue($value) { $this->value = $value; return $this; } /** * Get value * * @return string */ public function getValue() { return $this->value; } }