Files
quicknotes/lib/Db/Tag.php
Matias De lellis d16203c691 Add more method docs
2021-09-20 21:45:37 -03:00

27 lines
466 B
PHP

<?php
namespace OCA\QuickNotes\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
/**
* @method string getUserId()
* @method void setUserId(string $userId)
* @method string getName()
* @method void setName(string $name)
*/
class Tag extends Entity implements JsonSerializable {
protected $userId;
protected $name;
public function jsonSerialize() {
return [
'id' => $this->id,
'userid' => $this->userId,
'name' => $this->name
];
}
}