src/Entity/Gos/OnboardingSettings.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\OnboardingSettingsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=OnboardingSettingsRepository::class)
  7.  */
  8. class OnboardingSettings
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\OneToOne(targetEntity=PortalSettings::class, inversedBy="onboardingSettings", cascade={"persist", "remove"})
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $portalSettings;
  21.     /**
  22.      * @ORM\Column(type="boolean")
  23.      */
  24.     private $isActive;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $pollLink;
  29.     /**
  30.      * @ORM\Column(type="string", length=255, nullable=true)
  31.      */
  32.     private $editorialEmail;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity=EmailTemplate::class)
  35.      * @ORM\JoinColumn(nullable=false)
  36.      */
  37.     private $emailTemplate;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getPortalSettings(): ?PortalSettings
  43.     {
  44.         return $this->portalSettings;
  45.     }
  46.     public function setPortalSettings(PortalSettings $portalSettings): self
  47.     {
  48.         $this->portalSettings $portalSettings;
  49.         return $this;
  50.     }
  51.     public function getIsActive(): ?bool
  52.     {
  53.         return $this->isActive;
  54.     }
  55.     public function setIsActive(bool $isActive): self
  56.     {
  57.         $this->isActive $isActive;
  58.         return $this;
  59.     }
  60.     public function getPollLink(): ?string
  61.     {
  62.         return $this->pollLink;
  63.     }
  64.     public function setPollLink(?string $pollLink): self
  65.     {
  66.         $this->pollLink $pollLink;
  67.         return $this;
  68.     }
  69.     public function getEditorialEmail(): ?string
  70.     {
  71.         return $this->editorialEmail;
  72.     }
  73.     public function setEditorialEmail(string $editorialEmail): self
  74.     {
  75.         $this->editorialEmail $editorialEmail;
  76.         return $this;
  77.     }
  78.     public function getEmailTemplate(): ?EmailTemplate
  79.     {
  80.         return $this->emailTemplate;
  81.     }
  82.     public function setEmailTemplate(?EmailTemplate $emailTemplate): self
  83.     {
  84.         $this->emailTemplate $emailTemplate;
  85.         return $this;
  86.     }
  87. }