src/Entity/Gos/SentEventNotifications.php line 28

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\Gos\SentEventNotificationsRepository;
  5. /**
  6.  * SentEventNotifications
  7.  *
  8.  * @ORM\Entity(repositoryClass=SentEventNotificationsRepository::class)
  9.  * @ORM\AssociationOverrides({
  10.  *      @ORM\AssociationOverride(
  11.  *          name="user",
  12.  *          inversedBy="sentEventNotifications",
  13.  *      ),
  14.  *      @ORM\AssociationOverride(
  15.  *          name="smsBody",
  16.  *          inversedBy="sentEventNotifications"
  17.  *      ),
  18.  *      @ORM\AssociationOverride(
  19.  *          name="event",
  20.  *          inversedBy="sentEventNotifications"
  21.  *      )
  22.  * })
  23.  * @ORM\HasLifecycleCallbacks
  24.  */
  25. class SentEventNotifications extends BaseEventNotifications
  26. {
  27.     /**
  28.      * @ORM\Column(type="integer", nullable=true)
  29.      */
  30.     private $emailId;
  31.     /**
  32.      * @ORM\ManyToOne(targetEntity=OrderProductVariant::class, inversedBy="sentEventNotifications")
  33.      */
  34.     protected $orderProductVariant;
  35.     public function getEmailId(): ?int
  36.     {
  37.         return $this->emailId;
  38.     }
  39.     public function setEmailId(?int $emailId): self
  40.     {
  41.         $this->emailId $emailId;
  42.         return $this;
  43.     }
  44. }