<?phpdeclare(strict_types=1);namespace App\Entity\Product;use Doctrine\ORM\Mapping as ORM;use Gedmo\Mapping\Annotation as Gedmo;use Sylius\Component\Product\Model\ProductOptionValue as BaseProductOptionValue;use Sylius\Component\Product\Model\ProductOptionValueTranslationInterface;use Symfony\Component\HttpFoundation\File\File;/** * @ORM\Entity * @ORM\Table(name="sylius_product_option_value") */class ProductOptionValue extends BaseProductOptionValue{ protected function createTranslation(): ProductOptionValueTranslationInterface { return new ProductOptionValueTranslation(); } /** * @Gedmo\SortablePosition * @ORM\Column(name="position", type="integer") */ private $position; /** * @ORM\Column(type="string", nullable=true) */ private string $hexadecimal; /** * @ORM\Column(type="string", length=511, nullable=true) */ protected ?string $filePath = null; protected ?File $file = null; /** * @Gedmo\SortableGroup * @var ProductOptionInterface|null */ protected $option; /** * @return mixed */ public function getPosition() { return $this->position; } /** * @param mixed $position */ public function setPosition($position): void { $this->position = $position; } /** * @return string|null */ public function getFilePath(): ?string { return $this->filePath; } /** * @param string|null $filePath */ public function setFilePath(string $filePath): void { $this->filePath = $filePath; } /** * @return File|null */ public function getFile(): ?File { return $this->file; } /** * @param File|null $file */ public function setFile(?File $file): void { $this->file = $file; } public function getHexadecimal(): ?string { return $this->hexadecimal; } public function setHexadecimal(?string $hexadecimal): void { $this->hexadecimal = $hexadecimal; }}