forked from wallabag/wallabag
Added http_status in Entry entity
This commit is contained in:
@ -180,6 +180,15 @@ class Entry
|
||||
*/
|
||||
private $isPublic;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="http_status", type="integer", nullable=true)
|
||||
*
|
||||
* @Groups({"entries_for_user", "export_all"})
|
||||
*/
|
||||
private $httpStatus;
|
||||
|
||||
/**
|
||||
* @Exclude
|
||||
*
|
||||
@ -669,4 +678,24 @@ class Entry
|
||||
{
|
||||
$this->uuid = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getHttpStatus()
|
||||
{
|
||||
return $this->httpStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $httpStatus
|
||||
*
|
||||
* @return Entry
|
||||
*/
|
||||
public function setHttpStatus($httpStatus)
|
||||
{
|
||||
$this->httpStatus = $httpStatus;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user