Files
nextcloud-recognize/lib/Db/FsAccessUpdate.php
Marcel Klehr 0e5f2e5243 refactor: Process all fs events asynchronously
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-12-16 12:06:18 +01:00

44 lines
1001 B
PHP

<?php
/*
* Copyright (c) 2022 The Recognize contributors.
* This file is licensed under the Affero General Public License version 3 or later. See the COPYING file.
*/
declare(strict_types=1);
namespace OCA\Recognize\Db;
use OCP\AppFramework\Db\Entity;
/**
* Class FsAccessUpdate
*
* @package OCA\Recognize\Db
* @method int getStorageId()
* @method setStorageId(int $storageId)
* @method int getRootId()
* @method setRootId(int $rootId)
*/
final class FsAccessUpdate extends Entity {
protected ?int $storageId = null;
protected ?int $rootId = null;
/**
* @var string[]
*/
public static array $columns = ['id', 'storage_id', 'root_id'];
/**
* @var string[]
*/
public static array $fields = ['id', 'storageId', 'rootId'];
public static string $tableName = 'recognize_fs_access_updates';
public function __construct() {
// add types in constructor
$this->addType('id', 'integer');
$this->addType('storageId', 'integer');
$this->addType('rootId', 'integer');
}
}