3 namespace WallabagBundle\Entity;
5 use Doctrine\ORM\Mapping as ORM;
10 * @ORM\Entity(repositoryClass="WallabagBundle\Repository\EntriesRepository")
11 * @ORM\Table(name="entries")
18 * @ORM\Column(name="id", type="integer", nullable=true)
20 * @ORM\GeneratedValue(strategy="IDENTITY")
27 * @ORM\Column(name="title", type="text", nullable=true)
34 * @ORM\Column(name="url", type="text", nullable=true)
41 * @ORM\Column(name="is_read", type="decimal", precision=10, scale=0, nullable=true)
43 private $isRead = '0';
48 * @ORM\Column(name="is_fav", type="decimal", precision=10, scale=0, nullable=true)
55 * @ORM\Column(name="content", type="text", nullable=true)
62 * @ORM\Column(name="user_id", type="decimal", precision=10, scale=0, nullable=true)
73 public function getId()
81 * @param string $title
84 public function setTitle($title)
86 $this->title = $title;
96 public function getTitle()
107 public function setUrl($url)
119 public function getUrl()
127 * @param string $isRead
130 public function setIsRead($isRead)
132 $this->isRead = $isRead;
142 public function getIsRead()
144 return $this->isRead;
150 * @param string $isFav
153 public function setIsFav($isFav)
155 $this->isFav = $isFav;
165 public function getIsFav()
173 * @param string $content
176 public function setContent($content)
178 $this->content = $content;
188 public function getContent()
190 return $this->content;
196 * @param string $userId
199 public function setUserId($userId)
201 $this->userId = $userId;
211 public function getUserId()
213 return $this->userId;