Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/Component/Entity/Product/Images/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Item extends Entity
protected ?string $description;
protected TypeDateTimeNullable $changeTime;
protected ?bool $isMainImage;
protected string $gallery;

public function getName(): string
{
Expand Down Expand Up @@ -91,4 +92,15 @@ public function setIsMainImage(?bool $isMainImage): static
$this->isMainImage = $isMainImage;
return $this;
}

public function getGallery(): string
{
return $this->gallery;
}

public function setGallery(string $gallery): static
{
$this->gallery = $gallery;
return $this;
}
}
Loading