implemented snapshot diff; started work on admin settings
This commit is contained in:
parent
4c67bf71c4
commit
8b22d56e32
7 changed files with 423 additions and 8 deletions
20
lib/Entity/Snapshot.php
Normal file
20
lib/Entity/Snapshot.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace OCA\GroupfolderFilesystemSnapshots\Entity;
|
||||
|
||||
use JsonSerializable;
|
||||
|
||||
class Snapshot implements JsonSerializable {
|
||||
/** @var string */
|
||||
private $id;
|
||||
|
||||
public function __construct(string $id) {
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
public function jsonSerialize(): mixed {
|
||||
return [
|
||||
'id' => $this->id
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue