id = Uuid::v7(); $this->article = $article; $this->storagePath = $storagePath; $this->filename = $filename; $this->isMain = $isMain; $this->sortOrder = $sortOrder; } public function getId(): Uuid { return $this->id; } public function getStoragePath(): StoragePath { return $this->storagePath; } public function getFilename(): string { return $this->filename; } public function isMain(): bool { return $this->isMain; } public function getSortOrder(): int { return $this->sortOrder; } public function setSortOrder(int $sortOrder): void { $this->sortOrder = $sortOrder; } public function getFullPath(): string { return $this->storagePath->resolveFilePath($this->filename); } }