Files
quicknotes/lib/Db/Color.php
Matias De lellis eaa68be517 Fix some regresions
2021-09-20 21:26:25 -03:00

23 lines
352 B
PHP

<?php
namespace OCA\QuickNotes\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
/**
* @method void setColor(string $color)
* @method string getColor()
*/
class Color extends Entity implements JsonSerializable {
protected $color;
public function jsonSerialize() {
return [
'id' => $this->id,
'color' => $this->color
];
}
}