<?php
namespace App\Entity\Gos;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\Gos\SentEventNotificationsRepository;
/**
* SentEventNotifications
*
* @ORM\Entity(repositoryClass=SentEventNotificationsRepository::class)
* @ORM\AssociationOverrides({
* @ORM\AssociationOverride(
* name="user",
* inversedBy="sentEventNotifications",
* ),
* @ORM\AssociationOverride(
* name="smsBody",
* inversedBy="sentEventNotifications"
* ),
* @ORM\AssociationOverride(
* name="event",
* inversedBy="sentEventNotifications"
* )
* })
* @ORM\HasLifecycleCallbacks
*/
class SentEventNotifications extends BaseEventNotifications
{
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $emailId;
/**
* @ORM\ManyToOne(targetEntity=OrderProductVariant::class, inversedBy="sentEventNotifications")
*/
protected $orderProductVariant;
public function getEmailId(): ?int
{
return $this->emailId;
}
public function setEmailId(?int $emailId): self
{
$this->emailId = $emailId;
return $this;
}
}