]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Entries.php
implement delete method
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Entries.php
index 9da5102cae34a1cfe4c0086e47b2d222cf023be8..32e928d2325f64f2ababca7f178c3db6e1c9e1aa 100644 (file)
@@ -66,6 +66,13 @@ class Entries
      */
     private $userId;
 
+    /**
+     * @var string
+     *
+     * @ORM\Column(name="is_deleted", type="decimal", precision=10, scale=0, nullable=true)
+     */
+    private $isDeleted = '0';
+
     /**
      * Get id
      *
@@ -227,4 +234,20 @@ class Entries
     {
         return $this->userId;
     }
+
+    /**
+     * @return string
+     */
+    public function isDeleted()
+    {
+        return $this->isDeleted;
+    }
+
+    /**
+     * @param string $isDeleted
+     */
+    public function setDeleted($isDeleted)
+    {
+        $this->isDeleted = $isDeleted;
+    }
 }