File: /home/wbwebdes/domains/files.wb-cloud.nl/public_html/apps/photos/lib/DB/PhotosFile.php
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud 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;
}
}