aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entries.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-04 17:54:23 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-04 17:54:23 +0100
commit42a9064620eb73eaa42928a22eeec86299d4a883 (patch)
tree59f24a86bcde7f497a860300e299b87e7af13d43 /src/Wallabag/CoreBundle/Entity/Entries.php
parent889249804f44136fc608bbc6699f47932825d440 (diff)
downloadwallabag-42a9064620eb73eaa42928a22eeec86299d4a883.tar.gz
wallabag-42a9064620eb73eaa42928a22eeec86299d4a883.tar.zst
wallabag-42a9064620eb73eaa42928a22eeec86299d4a883.zip
implement delete method
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entries.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entries.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entries.php b/src/Wallabag/CoreBundle/Entity/Entries.php
index 9da5102c..32e928d2 100644
--- a/src/Wallabag/CoreBundle/Entity/Entries.php
+++ b/src/Wallabag/CoreBundle/Entity/Entries.php
@@ -67,6 +67,13 @@ class Entries
67 private $userId; 67 private $userId;
68 68
69 /** 69 /**
70 * @var string
71 *
72 * @ORM\Column(name="is_deleted", type="decimal", precision=10, scale=0, nullable=true)
73 */
74 private $isDeleted = '0';
75
76 /**
70 * Get id 77 * Get id
71 * 78 *
72 * @return integer 79 * @return integer
@@ -227,4 +234,20 @@ class Entries
227 { 234 {
228 return $this->userId; 235 return $this->userId;
229 } 236 }
237
238 /**
239 * @return string
240 */
241 public function isDeleted()
242 {
243 return $this->isDeleted;
244 }
245
246 /**
247 * @param string $isDeleted
248 */
249 public function setDeleted($isDeleted)
250 {
251 $this->isDeleted = $isDeleted;
252 }
230} 253}