1
0
Fork 0
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:
Nicolas Lœuillet 2016-11-18 15:09:21 +01:00
parent b060fbdfe7
commit 10b3509757
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
23 changed files with 172 additions and 0 deletions

View file

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