mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
23 lines
376 B
PHP
23 lines
376 B
PHP
<?php
|
|
namespace OCA\QuickNotes\Db;
|
|
|
|
use JsonSerializable;
|
|
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
class NoteTag extends Entity implements JsonSerializable {
|
|
|
|
protected $noteId;
|
|
protected $tagId
|
|
protected $userId;
|
|
|
|
public function jsonSerialize() {
|
|
return [
|
|
'id' => $this->id,
|
|
'noteid' => $this->noteId,
|
|
'tagid' => $this->tagId,
|
|
'userid' => $this->userId
|
|
];
|
|
}
|
|
|
|
} |