src/Entity/Gos/CertificationOnSite.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Entity\Gos\Uniqskills\Certificate;
  4. use App\Repository\Gos\CertificationOnSiteRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=CertificationOnSiteRepository::class)
  8.  */
  9. class CertificationOnSite
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $eventName;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity=Certificate::class)
  23.      * @ORM\JoinColumn(nullable=false)
  24.      */
  25.     private $certificate;
  26.     /**
  27.      * @ORM\Column(type="datetime_immutable")
  28.      */
  29.     private $startAt;
  30.     /**
  31.      * @ORM\Column(type="datetime_immutable")
  32.      */
  33.     private $finishAt;
  34.     /**
  35.      * @ORM\Column(type="string", length=255)
  36.      */
  37.     private $color;
  38.     /**
  39.      * @ORM\Column(type="string", length=20, unique=true)
  40.      */
  41.     private $hash;
  42.     /**
  43.      * @ORM\ManyToOne(targetEntity=LeadFormResponse::class)
  44.      */
  45.     private $leadTemplate;
  46.     public function getId(): ?int
  47.     {
  48.         return $this->id;
  49.     }
  50.     public function getEventName(): ?string
  51.     {
  52.         return $this->eventName;
  53.     }
  54.     public function setEventName(string $eventName): self
  55.     {
  56.         $this->eventName $eventName;
  57.         return $this;
  58.     }
  59.     public function getCertificate(): ?Certificate
  60.     {
  61.         return $this->certificate;
  62.     }
  63.     public function setCertificate(?Certificate $certificate): self
  64.     {
  65.         $this->certificate $certificate;
  66.         return $this;
  67.     }
  68.     public function getStartAt(): ?\DateTimeImmutable
  69.     {
  70.         return $this->startAt;
  71.     }
  72.     public function setStartAt(\DateTimeImmutable $startAt): self
  73.     {
  74.         $this->startAt $startAt;
  75.         return $this;
  76.     }
  77.     public function getFinishAt(): ?\DateTimeImmutable
  78.     {
  79.         return $this->finishAt;
  80.     }
  81.     public function setFinishAt(\DateTimeImmutable $finishAt): self
  82.     {
  83.         $this->finishAt $finishAt;
  84.         return $this;
  85.     }
  86.     public function getColor(): ?string
  87.     {
  88.         return $this->color;
  89.     }
  90.     public function setColor(string $color): self
  91.     {
  92.         $this->color $color;
  93.         return $this;
  94.     }
  95.     public function getHash(): ?string
  96.     {
  97.         return $this->hash;
  98.     }
  99.     public function setHash(string $hash): self
  100.     {
  101.         $this->hash $hash;
  102.         return $this;
  103.     }
  104.     public function getLeadTemplate(): ?LeadFormResponse
  105.     {
  106.         return $this->leadTemplate;
  107.     }
  108.     public function setLeadTemplate(?LeadFormResponse $leadTemplate): self
  109.     {
  110.         $this->leadTemplate $leadTemplate;
  111.         return $this;
  112.     }
  113. }