<?php
namespace App\Entity\Gos;
use App\Repository\ProductVariantReviewRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ProductVariantReviewRepository::class)
*/
class ProductVariantReviewLink
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=PortalSettings::class)
* @ORM\JoinColumn(nullable=false)
*/
private $portalSettings;
/**
* @ORM\Column(type="string", length=255)
*/
private $reviewUrl;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Gos\ProductVariant", inversedBy="productVariantReviewLinks")
* @ORM\JoinColumn()
*/
private $productVariant;
public function getId(): ?int
{
return $this->id;
}
public function getPortalSettings(): ?PortalSettings
{
return $this->portalSettings;
}
public function setPortalSettings(?PortalSettings $portalSettings): self
{
$this->portalSettings = $portalSettings;
return $this;
}
public function getReviewUrl(): ?string
{
return $this->reviewUrl;
}
public function setReviewUrl(string $reviewUrl): self
{
$this->reviewUrl = $reviewUrl;
return $this;
}
public function getProductVariant(): ?ProductVariant
{
return $this->productVariant;
}
public function setProductVariant(?ProductVariant $productVariant): self
{
$this->productVariant = $productVariant;
return $this;
}
}