mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
Explain the methods of the Attach entity
This commit is contained in:
@@ -5,11 +5,23 @@ use JsonSerializable;
|
|||||||
|
|
||||||
use OCP\AppFramework\Db\Entity;
|
use OCP\AppFramework\Db\Entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @method string getUserId()
|
||||||
|
* @method void setUserId(string $userId)
|
||||||
|
* @method int getNoteId()
|
||||||
|
* @method void setNoteId(int $noteId)
|
||||||
|
* @method int getFileId()
|
||||||
|
* @method void setFileId(int $fileId)
|
||||||
|
* @method int getCreatedAt()
|
||||||
|
* @method void setCreatedAt(int $createdAt)
|
||||||
|
*/
|
||||||
|
|
||||||
class Attach extends Entity implements JsonSerializable {
|
class Attach extends Entity implements JsonSerializable {
|
||||||
protected $userId;
|
protected $userId;
|
||||||
protected $noteId;
|
protected $noteId;
|
||||||
protected $fileId;
|
protected $fileId;
|
||||||
protected $createdAt;
|
protected $createdAt;
|
||||||
|
|
||||||
protected $previewUrl;
|
protected $previewUrl;
|
||||||
protected $redirectUrl;
|
protected $redirectUrl;
|
||||||
protected $deepLinkUrl;
|
protected $deepLinkUrl;
|
||||||
|
|||||||
Reference in New Issue
Block a user