first commit

This commit is contained in:
root
2022-03-06 11:49:27 +00:00
commit 1984e55837
1387 changed files with 121949 additions and 0 deletions

25
lib/Db/Wiki.php Normal file
View File

@ -0,0 +1,25 @@
<?php
namespace OCA\MyWiki\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
class Wiki extends Entity implements JsonSerializable {
protected $title;
protected $fileId;
protected $userId;
public function __construct() {
$this->addType('id','integer');
}
public function jsonSerialize() {
return [
'id' => $this->id,
'title' => $this->title,
'file_id' => $this->file_id
];
}
}