nextcloud-app-radio/lib/Db/Radio.php

20 lines
301 B
PHP
Raw Normal View History

2020-10-19 18:41:09 +00:00
<?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
];
}
}