-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathUserArchive.php
More file actions
32 lines (29 loc) · 849 Bytes
/
UserArchive.php
File metadata and controls
32 lines (29 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Tables\Db;
/**
* @method getUserId(): string
* @method setUserId(string $value): void
* @method getNodeType(): int
* @method setNodeType(int $value): void
* @method getNodeId(): int
* @method setNodeId(int $value): void
* @method setArchived(bool $value): void
* @method isArchived(): bool
*/
class UserArchive extends EntitySuper {
protected ?string $userId = null;
protected ?int $nodeType = null;
protected ?int $nodeId = null;
protected bool $archived = true;
public function __construct() {
$this->addType('id', 'integer');
$this->addType('node_type', 'integer');
$this->addType('node_id', 'integer');
$this->addType('archived', 'boolean');
}
}