Files
quicknotes/lib/Db/Task.php
2020-05-30 18:33:01 -03:00

24 lines
441 B
PHP

<?php
namespace OCA\QuickNotes\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
class Note extends Entity implements JsonSerializable {
protected $description;
protected $done;
protected $ordering;
protected $noteId;
public function jsonSerialize() {
return [
'id' => $this->id,
'description' => $this->description,
'done' => $this->done,
'ordering' => $this->ordering,
'noteId' => $this->noteId
];
}
}