mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
add basich sharing functionality logic
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user