X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FEntity%2FEntry.php;h=5e3f9a37a6bc89f4604de1d623f039a927993877;hb=fad316151c282b2383fae751f7ca45373f1f26ed;hp=f88d189d3f6e376f08fec5851999d478c0dede8d;hpb=8c55a9e6c9a563c3a4b3b3d35581e1c67a8a8c04;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index f88d189d..5e3f9a37 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php @@ -108,6 +108,13 @@ class Entry */ private $domainName; + /** + * @var string + * + * @ORM\Column(name="preview_picture", type="text", nullable=true) + */ + private $previewPicture; + /** * @var bool * @@ -419,4 +426,29 @@ class Entry { $this->tags->removeElement($tag); } + + /** + * Set previewPicture + * + * @param string $previewPicture + * + * @return Entry + */ + public function setPreviewPicture($previewPicture) + { + $this->previewPicture = $previewPicture; + + return $this; + } + + /** + * Get previewPicture + * + * @return string + */ + public function getPreviewPicture() + { + return $this->previewPicture; + } + }