Initial release

This commit is contained in:
Matias De lellis committed 2016-05-20 09:46:46 -03:00
commit 886605bc01
35 files changed
+2389

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?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
];
}
}