<?phpnamespace App\Entity\Gos;use Doctrine\ORM\Mapping as ORM;/** * @ORM\MappedSuperclass() */class BaseEventNotifications{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ protected $id; /** * @ORM\ManyToOne(targetEntity=User::class, inversedBy="eventNotificationSchedulers") * @ORM\JoinColumn(nullable=false) */ protected $user; /** * @ORM\Column(type="integer") */ protected $notificationType; /** * @ORM\Column(type="string", length=255, nullable=true) */ protected $emailType; /** * @ORM\Column(type="datetime") */ protected $sendAt; /** * @ORM\ManyToOne(targetEntity=SmsBody::class, inversedBy="eventNotificationSchedulers") */ protected $smsBody; /** * @ORM\ManyToOne(targetEntity=Events::class, inversedBy="eventNotificationSchedulers") */ protected $event; /** * @ORM\ManyToOne(targetEntity=LeadFormResponse::class) */ protected $leadTemplate; /** * @ORM\ManyToOne(targetEntity=PortalSettings::class) */ protected $portalSettings; public function getId(): ?int { return $this->id; } public function getUser(): ?User { return $this->user; } public function setUser(?User $user): self { $this->user = $user; return $this; } public function getNotificationType(): ?int { return $this->notificationType; } public function setNotificationType(int $notificationType): self { $this->notificationType = $notificationType; return $this; } public function getEmailType(): ?string { return $this->emailType; } public function setEmailType(?string $emailType): self { $this->emailType = $emailType; return $this; } public function getSendAt(): ?\DateTimeInterface { return $this->sendAt; } public function setSendAt(\DateTimeInterface $sendAt): self { $this->sendAt = $sendAt; return $this; } public function getSmsBody(): ?SmsBody { return $this->smsBody; } public function setSmsBody(?SmsBody $smsBody): self { $this->smsBody = $smsBody; return $this; } public function getEvent(): ?Events { return $this->event; } public function setEvent(?Events $event): self { $this->event = $event; return $this; } public function getOrderProductVariant(): ?OrderProductVariant { return $this->orderProductVariant; } public function setOrderProductVariant(?OrderProductVariant $orderProductVariant): self { $this->orderProductVariant = $orderProductVariant; return $this; } public function getLeadTemplate(): ?LeadFormResponse { return $this->leadTemplate; } public function setLeadTemplate(?LeadFormResponse $leadTemplate): self { $this->leadTemplate = $leadTemplate; return $this; } public function getPortalSettings(): ?PortalSettings { return $this->portalSettings; } public function setPortalSettings(?PortalSettings $portalSettings): self { $this->portalSettings = $portalSettings; return $this; }}