f7cloud_client/apps/photos/lib/DB/PhotosFile.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

46 lines
821 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Photos\DB;
class PhotosFile {
public function __construct(
private readonly int $fileId,
private readonly string $name,
private readonly string $mimeType,
private readonly int $size,
private readonly int $mtime,
private readonly string $etag,
) {
}
public function getFileId(): int {
return $this->fileId;
}
public function getName(): string {
return $this->name;
}
public function getMimeType(): string {
return $this->mimeType;
}
public function getSize(): int {
return $this->size;
}
public function getMTime(): int {
return $this->mtime;
}
public function getEtag(): string {
return $this->etag;
}
}