1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

implement delete method

This commit is contained in:
Nicolas Lœuillet 2015-02-04 17:54:23 +01:00
parent 889249804f
commit 42a9064620
4 changed files with 42 additions and 1 deletions

View 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;
}
}