20 lines
371 B
PHP
20 lines
371 B
PHP
<?php
|
|
|
|
namespace OCA\UPschooling\Db;
|
|
|
|
use JsonSerializable;
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
class MatrixUser extends Entity implements JsonSerializable {
|
|
protected $userId;
|
|
protected $matrixUser;
|
|
|
|
public function jsonSerialize(): array {
|
|
return [
|
|
'id' => $this->id,
|
|
'userId' => $this->userId,
|
|
'matrixUser' => $this->matrixUser,
|
|
];
|
|
}
|
|
}
|