src/Entity/Gos/BaseEventNotifications.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\MappedSuperclass()
  6.  */
  7. class BaseEventNotifications
  8. {
  9.     /**
  10.      * @ORM\Id
  11.      * @ORM\GeneratedValue
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     protected $id;
  15.     /**
  16.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="eventNotificationSchedulers")
  17.      * @ORM\JoinColumn(nullable=false)
  18.      */
  19.     protected $user;
  20.     /**
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     protected $notificationType;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     protected $emailType;
  28.     /**
  29.      * @ORM\Column(type="datetime")
  30.      */
  31.     protected $sendAt;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity=SmsBody::class, inversedBy="eventNotificationSchedulers")
  34.      */
  35.     protected $smsBody;
  36.     /**
  37.      * @ORM\ManyToOne(targetEntity=Events::class, inversedBy="eventNotificationSchedulers")
  38.      */
  39.     protected $event;
  40.     /**
  41.      * @ORM\ManyToOne(targetEntity=LeadFormResponse::class)
  42.      */
  43.     protected $leadTemplate;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=PortalSettings::class)
  46.      */
  47.     protected $portalSettings;
  48.     public function getId(): ?int
  49.     {
  50.         return $this->id;
  51.     }
  52.     public function getUser(): ?User
  53.     {
  54.         return $this->user;
  55.     }
  56.     public function setUser(?User $user): self
  57.     {
  58.         $this->user $user;
  59.         return $this;
  60.     }
  61.     public function getNotificationType(): ?int
  62.     {
  63.         return $this->notificationType;
  64.     }
  65.     public function setNotificationType(int $notificationType): self
  66.     {
  67.         $this->notificationType $notificationType;
  68.         return $this;
  69.     }
  70.     public function getEmailType(): ?string
  71.     {
  72.         return $this->emailType;
  73.     }
  74.     public function setEmailType(?string $emailType): self
  75.     {
  76.         $this->emailType $emailType;
  77.         return $this;
  78.     }
  79.     public function getSendAt(): ?\DateTimeInterface
  80.     {
  81.         return $this->sendAt;
  82.     }
  83.     public function setSendAt(\DateTimeInterface $sendAt): self
  84.     {
  85.         $this->sendAt $sendAt;
  86.         return $this;
  87.     }
  88.     public function getSmsBody(): ?SmsBody
  89.     {
  90.         return $this->smsBody;
  91.     }
  92.     public function setSmsBody(?SmsBody $smsBody): self
  93.     {
  94.         $this->smsBody $smsBody;
  95.         return $this;
  96.     }
  97.     public function getEvent(): ?Events
  98.     {
  99.         return $this->event;
  100.     }
  101.     public function setEvent(?Events $event): self
  102.     {
  103.         $this->event $event;
  104.         return $this;
  105.     }
  106.     public function getOrderProductVariant(): ?OrderProductVariant
  107.     {
  108.         return $this->orderProductVariant;
  109.     }
  110.     public function setOrderProductVariant(?OrderProductVariant $orderProductVariant): self
  111.     {
  112.         $this->orderProductVariant $orderProductVariant;
  113.         return $this;
  114.     }
  115.     public function getLeadTemplate(): ?LeadFormResponse
  116.     {
  117.         return $this->leadTemplate;
  118.     }
  119.     public function setLeadTemplate(?LeadFormResponse $leadTemplate): self
  120.     {
  121.         $this->leadTemplate $leadTemplate;
  122.         return $this;
  123.     }
  124.     public function getPortalSettings(): ?PortalSettings
  125.     {
  126.         return $this->portalSettings;
  127.     }
  128.     public function setPortalSettings(?PortalSettings $portalSettings): self
  129.     {
  130.         $this->portalSettings $portalSettings;
  131.         return $this;
  132.     }
  133. }