2021-09-18 17:28:10 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace OCA\UPschooling\Db;
|
|
|
|
|
|
|
|
use JsonSerializable;
|
|
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
|
|
|
|
class MatrixUser extends Entity implements JsonSerializable {
|
|
|
|
protected $userId;
|
|
|
|
protected $matrixUser;
|
2021-09-19 14:55:30 +00:00
|
|
|
protected $matrixToken;
|
2021-09-18 17:28:10 +00:00
|
|
|
|
|
|
|
public function jsonSerialize(): array {
|
|
|
|
return [
|
|
|
|
'id' => $this->id,
|
|
|
|
'userId' => $this->userId,
|
|
|
|
'matrixUser' => $this->matrixUser,
|
2021-09-19 14:55:30 +00:00
|
|
|
'matrixToken' => $this->matrixToken,
|
2021-09-18 17:28:10 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|