diff options
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 57 |
1 files changed, 5 insertions, 52 deletions
diff --git a/db/item.php b/db/item.php index ee25ab122..ad245d486 100644 --- a/db/item.php +++ b/db/item.php @@ -16,61 +16,14 @@ namespace OCA\News\Db; class Item extends Entity { public $url; - public $feed_id; + public $title; public $guid; + public $body; public $status; - public $title; + public $author; + public $date; public $feedTitle; - - - public function setUrl($url) { - $this->url = $url; - } - - public function getUrl() { - return $this->url; - } - - public function setFeedId($feed_id) { - $this->feed_id = $feed_id; - } - - public function getFeedId() { - return $this->feed_id; - } - - public function setGUID($guid) { - $this->guid = $guid; - } - - public function getGUID() { - return $this->guid; - } - - public function setStatus($status) { - $this->status = $status; - } - - public function getStatus() { - return $this->status; - } - - public function getTitle() { - return $this->title; - } - - public function setTitle($title) { - $this->title = $title; - } - - public function getFeedTitle() { - return $this->feedTitle; - } - - public function setFeedTitle($feedtitle) { - $this->feedTitle = $feedtitle; - } - + public $enclosure; } |