diff --git a/lib/Db/NoteShare.php b/lib/Db/NoteShare.php index f522a1c..8d1a700 100644 --- a/lib/Db/NoteShare.php +++ b/lib/Db/NoteShare.php @@ -5,17 +5,23 @@ use JsonSerializable; use OCP\AppFramework\Db\Entity; +/** + * @method int getNoteId() + * @method void setNoteId(int $noteId) + * @method string getSharedUser() + * @method void setSharedUser(string $userId) + * @method string getSharedGroup() + * @method void setSharedGroup(string $groupId) + */ class NoteShare extends Entity implements JsonSerializable { protected $noteId; - protected $userId; protected $sharedUser; protected $sharedGroup; public function jsonSerialize() { return [ 'id' => $this->id, - 'user_id' => $this->userId, 'note_id' => $this->noteId, 'shared_user' => $this->sharedUser, 'shared_group' => $this->sharedGroup