mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-10 19:32:07 +00:00
Added http_status in Entry entity
This commit is contained in:
parent
b060fbdfe7
commit
10b3509757
23 changed files with 172 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue