mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Small fixes
This commit is contained in:
@@ -11,10 +11,10 @@ use OCP\AppFramework\Db\Entity;
|
|||||||
* @method string getTitle()
|
* @method string getTitle()
|
||||||
* @method void setTitle(string $title)
|
* @method void setTitle(string $title)
|
||||||
* @method string getContent()
|
* @method string getContent()
|
||||||
* @method void setContest(string $content)
|
* @method void setContent(string $content)
|
||||||
* @method int getTimestamp()
|
* @method int getTimestamp()
|
||||||
* @method void setTimestamp(int $timestamp)
|
* @method void setTimestamp(int $timestamp)
|
||||||
* @method int geColorId()
|
* @method int getColorId()
|
||||||
* @method void setColorId(int $colorId)
|
* @method void setColorId(int $colorId)
|
||||||
* @method bool getPinned()
|
* @method bool getPinned()
|
||||||
* @method void setPinned(bool $pinned)
|
* @method void setPinned(bool $pinned)
|
||||||
@@ -61,6 +61,10 @@ class Note extends Entity implements JsonSerializable {
|
|||||||
$this->tags = $tags;
|
$this->tags = $tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setAttachts(array $attachts) {
|
||||||
|
$this->attachts = $attachts;
|
||||||
|
}
|
||||||
|
|
||||||
public function jsonSerialize() {
|
public function jsonSerialize() {
|
||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
|
|||||||
Reference in New Issue
Block a user