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:
parent
889249804f
commit
42a9064620
4 changed files with 42 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue