<?php
namespace App\Entity\Gos;
use App\Repository\Gos\OrderProductVariantOmittedUpsellRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=OrderProductVariantOmittedUpsellRepository::class)
*/
class OrderProductVariantOmittedUpsell
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=OrderProductVariant::class, inversedBy="orderProductVariantOmittedUpsells")
* @ORM\JoinColumn(nullable=false)
*/
private $orderProductVariant;
/**
* @ORM\ManyToOne(targetEntity=ProductVariant::class)
* @ORM\JoinColumn(nullable=false)
*/
private $productVariant;
/**
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="orderProductVariantOmittedUpsells")
* @ORM\JoinColumn(nullable=false)
*/
private $user;
public function getId(): ?int
{
return $this->id;
}
public function getOrderProductVariant(): ?OrderProductVariant
{
return $this->orderProductVariant;
}
public function setOrderProductVariant(?OrderProductVariant $orderProductVariant): self
{
$this->orderProductVariant = $orderProductVariant;
return $this;
}
public function getProductVariant(): ?ProductVariant
{
return $this->productVariant;
}
public function setProductVariant(?ProductVariant $productVariant): self
{
$this->productVariant = $productVariant;
return $this;
}
public function getUser(): ?User
{
return $this->user;
}
public function setUser(?User $user): self
{
$this->user = $user;
return $this;
}
}