<?php
declare(strict_types=1);

namespace App\Framework\Storage;

final readonly class ObjectInfo
{
    public function __construct(
        public string $bucket,
        public string $key,
        public ?string $etag = null,     // z.B. sha256
        public ?int $size = null,
        public ?string $contentType = null,
        public array $metadata = [],     // frei (owner, width, height, …)
        public ?string $versionId = null // S3: echt, FS: emuliert/optional
    ) {}
}
