nextcloud-app-radio/db/station.php

21 lines
348 B
PHP
Raw Normal View History

2017-02-21 16:57:35 +00:00
<?php
namespace OCA\Radio\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
class Station extends Entity implements JsonSerializable {
protected $stationid;
protected $userId;
public function jsonSerialize() {
return [
'id' => $this->id,
'stationid' => $this->stationid,
];
}
}