nextcloud-app-radio/lib/Db/Radio.php
2020-10-19 20:41:09 +02:00

20 lines
301 B
PHP

<?php
namespace OCA\Radio\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
class Note extends Entity implements JsonSerializable {
protected $station
protected $userId;
public function jsonSerialize(): array {
return [
'id' => $this->id,
'station' => $this->station
];
}
}