add basich sharing functionality logic

This commit is contained in:
Vinzenz
2016-05-31 14:16:43 +02:00
parent 9eede1756d
commit df3db489f4
9 changed files with 49 additions and 15 deletions

View File

@@ -12,6 +12,7 @@ class Note extends Entity implements JsonSerializable {
protected $timestamp;
protected $colorId;
protected $userId;
protected $isShared;
protected $color;
@@ -26,7 +27,9 @@ class Note extends Entity implements JsonSerializable {
'content' => $this->content,
'timestamp' => $this->timestamp,
'colorid' => $this->colorId,
'color' => $this->color
'color' => $this->color,
'userid' => $this->userId,
'isshared' => $this->isShared
];
}
}
}