- <?php
- namespace App\Entity;
- use App\MDS\GreenPatioBundle\Entity\ReservationLoungeDetails;
- use App\Repository\HtVisitRepository;
- use Doctrine\ORM\Mapping as ORM;
- /**
-  * @ORM\Entity(repositoryClass=HtVisitRepository::class)
-  */
- class HtVisit
- {
-     /**
-      * @ORM\Id
-      * @ORM\GeneratedValue
-      * @ORM\Column(type="integer")
-      */
-     private $id;
-     /**
-      * @ORM\ManyToOne(targetEntity=User::class)
-      */
-     private $agentId;
-     /**
-      * @ORM\ManyToOne(targetEntity=Client::class)
-      */
-     private $client;
-     /**
-      * @ORM\Column(type="string", length=255, nullable=true)
-      */
-     private $clientName;
-     /**
-      * @ORM\Column(type="string", length=255, nullable=true)
-      */
-     private $loungeName;
-     /**
-      * @ORM\ManyToOne(targetEntity=ReservationLoungeDetails::class)
-      */
-     private $Lounge;
-     /**
-      * @ORM\Column(type="datetime", nullable=true)
-      */
-     private $dateStart;
-     /**
-      * @ORM\Column(type="datetime", nullable=true)
-      */
-     private $dateEnd;
-     /**
-      * @ORM\Column(type="float", nullable=true)
-      */
-     private $servicePrice;
-     /**
-      * @ORM\ManyToOne(targetEntity=HtFile::class, inversedBy="htVisits")
-      */
-     private $reservation;
-     /**
-      * @ORM\Column(type="integer", nullable=true)
-      */
-     private $pax;
-     /**
-      * @ORM\Column(type="string", length=255, nullable=true)
-      */
-     private $type;
-     /**
-      * @ORM\Column(type="time", nullable=true)
-      */
-     private $hourStart;
-     /**
-      * @ORM\Column(type="time", nullable=true)
-      */
-     private $hourEnd;
-     /**
-      * @ORM\Column(type="datetime_immutable")
-      */
-     private $createdAt;
-     /**
-      * @ORM\ManyToOne(targetEntity=User::class)
-      */
-     private $createdId;
-     /**
-      * @ORM\Column(type="datetime_immutable")
-      */
-     private $updatedAt;
-     /**
-      * @ORM\ManyToOne(targetEntity=User::class)
-      */
-     private $updatedId;
-     /**
-      * @ORM\Column(type="string", length=255, nullable=true)
-      */
-     private $name;
-     public function getId(): ?int
-     {
-         return $this->id;
-     }
-     public function getAgentId(): ?User
-     {
-         return $this->agentId;
-     }
-     public function setAgentId(?User $agentId): self
-     {
-         $this->agentId = $agentId;
-         return $this;
-     }
-     public function getClient(): ?Client
-     {
-         return $this->client;
-     }
-     public function setClient(?Client $client): self
-     {
-         $this->client = $client;
-         return $this;
-     }
-     public function getClientName(): ?string
-     {
-         return $this->clientName;
-     }
-     public function setClientName(?string $clientName): self
-     {
-         $this->clientName = $clientName;
-         return $this;
-     }
-     public function getLoungeName(): ?string
-     {
-         return $this->loungeName;
-     }
-     public function setLoungeName(?string $loungeName): self
-     {
-         $this->loungeName = $loungeName;
-         return $this;
-     }
-     public function getLounge(): ?ReservationLoungeDetails
-     {
-         return $this->Lounge;
-     }
-     public function setLounge(?ReservationLoungeDetails $Lounge): self
-     {
-         $this->Lounge = $Lounge;
-         return $this;
-     }
-     public function getDateStart(): ?\DateTimeInterface
-     {
-         return $this->dateStart;
-     }
-     public function setDateStart(?\DateTimeInterface $dateStart): self
-     {
-         $this->dateStart = $dateStart;
-         return $this;
-     }
-     public function getDateEnd(): ?\DateTimeInterface
-     {
-         return $this->dateEnd;
-     }
-     public function setDateEnd(?\DateTimeInterface $dateEnd): self
-     {
-         $this->dateEnd = $dateEnd;
-         return $this;
-     }
-     public function getServicePrice(): ?float
-     {
-         return $this->servicePrice;
-     }
-     public function setServicePrice(?float $servicePrice): self
-     {
-         $this->servicePrice = $servicePrice;
-         return $this;
-     }
-     public function getReservation(): ?HtFile
-     {
-         return $this->reservation;
-     }
-     public function setReservation(?HtFile $reservation): self
-     {
-         $this->reservation = $reservation;
-         return $this;
-     }
-     public function getPax(): ?int
-     {
-         return $this->pax;
-     }
-     public function setPax(?int $pax): self
-     {
-         $this->pax = $pax;
-         return $this;
-     }
-     public function getType(): ?string
-     {
-         return $this->type;
-     }
-     public function setType(?string $type): self
-     {
-         $this->type = $type;
-         return $this;
-     }
-     public function getHourStart(): ?\DateTimeInterface
-     {
-         return $this->hourStart;
-     }
-     public function setHourStart(?\DateTimeInterface $hourStart): self
-     {
-         $this->hourStart = $hourStart;
-         return $this;
-     }
-     public function getHourEnd(): ?\DateTimeInterface
-     {
-         return $this->hourEnd;
-     }
-     public function setHourEnd(?\DateTimeInterface $hourEnd): self
-     {
-         $this->hourEnd = $hourEnd;
-         return $this;
-     }
-     public function getCreatedAt(): ?\DateTimeImmutable
-     {
-         return $this->createdAt;
-     }
-     public function setCreatedAt(\DateTimeImmutable $createdAt): self
-     {
-         $this->createdAt = $createdAt;
-         return $this;
-     }
-     public function getCreatedId(): ?User
-     {
-         return $this->createdId;
-     }
-     public function setCreatedId(?User $createdId): self
-     {
-         $this->createdId = $createdId;
-         return $this;
-     }
-     public function getUpdatedAt(): ?\DateTimeImmutable
-     {
-         return $this->updatedAt;
-     }
-     public function setUpdatedAt(\DateTimeImmutable $updatedAt): self
-     {
-         $this->updatedAt = $updatedAt;
-         return $this;
-     }
-     public function getUpdatedId(): ?User
-     {
-         return $this->updatedId;
-     }
-     public function setUpdatedId(?User $updatedId): self
-     {
-         $this->updatedId = $updatedId;
-         return $this;
-     }
-     public function getName(): ?string
-     {
-         return $this->name;
-     }
-     public function setName(?string $name): self
-     {
-         $this->name = $name;
-         return $this;
-     }
- }
-