mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 23:57:18 +01:00
19 lines
275 B
PHP
19 lines
275 B
PHP
<?php
|
|
namespace OCA\QuickNotes\Db;
|
|
|
|
use JsonSerializable;
|
|
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
class Color extends Entity implements JsonSerializable {
|
|
|
|
protected $color;
|
|
|
|
public function jsonSerialize() {
|
|
return [
|
|
'id' => $this->id,
|
|
'color' => $this->color
|
|
];
|
|
}
|
|
|
|
} |