<?phpnamespace App\Entity\Gos;use App\Entity\Gos\Uniqskills\Certificate;use App\Repository\Gos\CertificationOnSiteRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=CertificationOnSiteRepository::class) */class CertificationOnSite{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $eventName; /** * @ORM\ManyToOne(targetEntity=Certificate::class) * @ORM\JoinColumn(nullable=false) */ private $certificate; /** * @ORM\Column(type="datetime_immutable") */ private $startAt; /** * @ORM\Column(type="datetime_immutable") */ private $finishAt; /** * @ORM\Column(type="string", length=255) */ private $color; /** * @ORM\Column(type="string", length=20, unique=true) */ private $hash; /** * @ORM\ManyToOne(targetEntity=LeadFormResponse::class) */ private $leadTemplate; public function getId(): ?int { return $this->id; } public function getEventName(): ?string { return $this->eventName; } public function setEventName(string $eventName): self { $this->eventName = $eventName; return $this; } public function getCertificate(): ?Certificate { return $this->certificate; } public function setCertificate(?Certificate $certificate): self { $this->certificate = $certificate; return $this; } public function getStartAt(): ?\DateTimeImmutable { return $this->startAt; } public function setStartAt(\DateTimeImmutable $startAt): self { $this->startAt = $startAt; return $this; } public function getFinishAt(): ?\DateTimeImmutable { return $this->finishAt; } public function setFinishAt(\DateTimeImmutable $finishAt): self { $this->finishAt = $finishAt; return $this; } public function getColor(): ?string { return $this->color; } public function setColor(string $color): self { $this->color = $color; return $this; } public function getHash(): ?string { return $this->hash; } public function setHash(string $hash): self { $this->hash = $hash; return $this; } public function getLeadTemplate(): ?LeadFormResponse { return $this->leadTemplate; } public function setLeadTemplate(?LeadFormResponse $leadTemplate): self { $this->leadTemplate = $leadTemplate; return $this; }}