Files
moneyplanner/lib/Db/Account.php
T
2026-07-05 21:52:31 +02:00

21 lines
365 B
PHP

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