forked from wallabag/wallabag
implement delete method
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user