]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Entry.php
Added http_status in Entry entity
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Entry.php
index f59c445f3f12bf1215642dcaf1f549cdb9062dcc..31e594bf349f7f1aff92a9829b430e1d57d47a8f 100644 (file)
@@ -180,6 +180,15 @@ class Entry
      */
     private $isPublic;
 
+    /**
+     * @var int
+     *
+     * @ORM\Column(name="http_status", type="integer", nullable=true)
+     *
+     * @Groups({"entries_for_user", "export_all"})
+     */
+    private $httpStatus;
+
     /**
      * @Exclude
      *
@@ -669,4 +678,24 @@ class Entry
     {
         $this->uuid = null;
     }
+
+    /**
+     * @return int
+     */
+    public function getHttpStatus()
+    {
+        return $this->httpStatus;
+    }
+
+    /**
+     * @param int $httpStatus
+     *
+     * @return Entry
+     */
+    public function setHttpStatus($httpStatus)
+    {
+        $this->httpStatus = $httpStatus;
+
+        return $this;
+    }
 }