<?php
namespace App\MDS\VenuesBundle\Entity;
use App\Entity\HtItem;
use App\Entity\ReservationLoungeWebDescription;
use App\Entity\Space;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* ReservationLoungeDetails
*/
#[ORM\Entity(repositoryClass: \App\MDS\VenuesBundle\Repository\ReservationLoungeDetailsRepository::class)]
#[ORM\Table(name: 'reservation_lounge_details')]
class ReservationLoungeDetails
{
/**
* @var int
*/
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'AUTO')]
#[Groups(['ReservationLoungeDetails:read'])]
private $id;
/**
* @var string
*/
#[ORM\Column(name: 'name', type: 'string', length: 255)]
#[Groups(['ReservationLoungeDetails:read'])]
private $name;
/**
* @var int
*/
#[ORM\Column(name: 'created_id', type: 'integer')]
private $createdId;
/**
* @var \DateTime
*/
#[ORM\Column(name: 'created_at', type: 'datetime')]
private $createdAt;
/**
* @var int
*/
#[ORM\Column(name: 'updated_id', type: 'integer')]
private $updatedId;
/**
* @var \DateTime
*/
#[ORM\Column(name: 'updated_at', type: 'datetime')]
private $updatedAt;
/**
* @var string
*/
#[ORM\Column(name: 'meters', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $meters;
/**
* @var string
*/
#[ORM\Column(name: 'length', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $length;
/**
* @var string
*/
#[ORM\Column(name: 'width', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $width;
/**
* @var string
*/
#[ORM\Column(name: 'height', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $height;
/**
* @var string
*/
#[ORM\Column(name: 'cap_school', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $capSchool;
/**
* @var string
*/
#[ORM\Column(name: 'cap_theater', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $capTheater;
/**
* @var string
*/
#[ORM\Column(name: 'cap_cocktail', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $capCocktail;
/**
* @var string
*/
#[ORM\Column(name: 'cap_banquet', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $capBanquet;
/**
* @var string
*/
#[ORM\Column(name: 'cap_imperial', type: 'string', length: 255, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $capImperial;
/**
* @var int
*/
#[ORM\Column(name: 'rank_lounge', type: 'integer', nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $rankLounge;
/**
* @var string
* Indices separados por comas de las salas que contenga el combo. Si no es combo estara en NULL
*/
#[ORM\Column(name: 'combo', type: 'string', length: 55, nullable: true)]
#[Groups(['ReservationLoungeDetails:read'])]
private $combo;
/**
* @var string
*
* Cuadro de texto para caracteristicas especificas de la sala, este campo se refleja en
la cotizacion web como cuadro de informacion Importante
*/
#[ORM\Column(name: 'importantDescription', type: 'text', nullable: true)]
private $importantDescription;
/**
* @var string
*
* La info del cuadro del texto importante de la web, se dividira en varios bloques para que desde el front
se le de una mejor presentación y desde Mante se pueda modificar la información.
Esta es la información para el texto general
*/
#[ORM\Column(name: 'importantDescGeneralText', type: 'text', nullable: true)]
private $importantDescGeneralText;
/**
* @var string
*
* La info del cuadro del texto importante de la web, se dividira en varios bloques para que desde el front
se le de una mejor presentación y desde Mante se pueda modificar la información.
Esta es la información para los horarios
*/
#[ORM\Column(name: 'importantDescSchedules', type: 'text', nullable: true)]
private $importantDescSchedules;
/**
* @var string
*
* La info del cuadro del texto importante de la web, se dividira en varios bloques para que desde el front
se le de una mejor presentación y desde Mante se pueda modificar la información.
Esta es la información para el parking
*/
#[ORM\Column(name: 'importantDescParking', type: 'text', nullable: true)]
private $importantDescParking;
#[ORM\OneToMany(targetEntity: ReservationLoungeWebDescription::class, mappedBy: 'lounge', orphanRemoval: true)]
private $reservationLoungeWebDescriptions;
#[ORM\ManyToOne(targetEntity: Space::class, inversedBy: 'ReservationLounges')]
#[ORM\JoinColumn(name: 'space_id', referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]
private $space;
public function __construct()
{
$this->reservationLoungeWebDescriptions = new ArrayCollection();
}
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return ReservationLoungeDetails
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set createdId
*
* @param integer $createdId
*
* @return ReservationLoungeDetails
*/
public function setCreatedId($createdId)
{
$this->createdId = $createdId;
return $this;
}
/**
* Get createdId
*
* @return integer
*/
public function getCreatedId()
{
return $this->createdId;
}
/**
* Set createdAt
*
* @param \DateTime $createdAt
*
* @return ReservationLoungeDetails
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set updatedId
*
* @param integer $updatedId
*
* @return ReservationLoungeDetails
*/
public function setUpdatedId($updatedId)
{
$this->updatedId = $updatedId;
return $this;
}
/**
* Get updatedId
*
* @return integer
*/
public function getUpdatedId()
{
return $this->updatedId;
}
/**
* Set updatedAt
*
* @param \DateTime $updatedAt
*
* @return ReservationLoungeDetails
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
/**
* Set meters
*
* @param string $meters
*
* @return ReservationLoungeDetails
*/
public function setMeters($meters)
{
$this->meters = $meters;
return $this;
}
/**
* Get meters
*
* @return string
*/
public function getMeters()
{
return $this->meters;
}
/**
* Set length
*
* @param string $length
*
* @return ReservationLoungeDetails
*/
public function setLength($length)
{
$this->length = $length;
return $this;
}
/**
* Get length
*
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* Set width
*
* @param string $width
*
* @return ReservationLoungeDetails
*/
public function setWidth($width)
{
$this->width = $width;
return $this;
}
/**
* Get width
*
* @return string
*/
public function getWidth()
{
return $this->width;
}
/**
* Set height
*
* @param string $height
*
* @return ReservationLoungeDetails
*/
public function setHeight($height)
{
$this->height = $height;
return $this;
}
/**
* Get height
*
* @return string
*/
public function getHeight()
{
return $this->height;
}
/**
* Set capSchool
*
* @param string $capSchool
*
* @return ReservationLoungeDetails
*/
public function setCapSchool($capSchool)
{
$this->capSchool = $capSchool;
return $this;
}
/**
* Get capSchool
*
* @return string
*/
public function getCapSchool()
{
return $this->capSchool;
}
/**
* Set capTheater
*
* @param string $capTheater
*
* @return ReservationLoungeDetails
*/
public function setCapTheater($capTheater)
{
$this->capTheater = $capTheater;
return $this;
}
/**
* Get capTheater
*
* @return string
*/
public function getCapTheater()
{
return $this->capTheater;
}
/**
* Set capCocktail
*
* @param string $capCocktail
*
* @return ReservationLoungeDetails
*/
public function setCapCocktail($capCocktail)
{
$this->capCocktail = $capCocktail;
return $this;
}
/**
* Get capCocktail
*
* @return string
*/
public function getCapCocktail()
{
return $this->capCocktail;
}
/**
* Set capBanquet
*
* @param string $capBanquet
*
* @return ReservationLoungeDetails
*/
public function setCapBanquet($capBanquet)
{
$this->capBanquet = $capBanquet;
return $this;
}
/**
* Get capBanquet
*
* @return string
*/
public function getCapBanquet()
{
return $this->capBanquet;
}
/**
* Set capImperial
*
* @param string $capImperial
*
* @return ReservationLoungeDetails
*/
public function setCapImperial($capImperial)
{
$this->capImperial = $capImperial;
return $this;
}
/**
* Get capImperial
*
* @return string
*/
public function getCapImperial()
{
return $this->capImperial;
}
/**
* Set rankLounge
*
* @param integer $rankLounge
*
* @return ReservationLoungeDetails
*/
public function setRankLounge($rankLounge)
{
$this->rankLounge = $rankLounge;
return $this;
}
/**
* Get rankLounge
*
* @return integer
*/
public function getRankLounge()
{
return $this->rankLounge;
}
/**
* Set combo
*
* @param string $combo
*
* @return ReservationLoungeDetails
*/
public function setCombo($combo)
{
$this->combo = $combo;
return $this;
}
/**
* Get combo
*
* @return string
*/
public function getCombo()
{
return $this->combo;
}
/**
* Set importantDescription
*
* @param string $importantDescription
*
* @return ReservationLoungeDetails
*/
public function setImportantDescription($importantDescription)
{
$this->importantDescription = $importantDescription;
return $this;
}
/**
* Get importantDescription
*
* @return string
*/
public function getImportantDescription()
{
return $this->importantDescription;
}
/**
* Set importantDescGeneralText
*
* @param string $importantDescGeneralText
*
* @return ReservationLoungeDetails
*/
public function setImportantDescGeneralText($importantDescGeneralText)
{
$this->importantDescGeneralText = $importantDescGeneralText;
return $this;
}
/**
* Get importantDescGeneralText
*
* @return string
*/
public function getImportantDescGeneralText()
{
return $this->importantDescGeneralText;
}
/**
* Set importantDescSchedules
*
* @param string $importantDescSchedules
*
* @return ReservationLoungeDetails
*/
public function setImportantDescSchedules($importantDescSchedules)
{
$this->importantDescSchedules = $importantDescSchedules;
return $this;
}
/**
* Get importantDescSchedules
*
* @return string
*/
public function getImportantDescSchedules()
{
return $this->importantDescSchedules;
}
/**
* Set importantDescParking
*
* @param string $importantDescParking
*
* @return ReservationLoungeDetails
*/
public function setImportantDescParking($importantDescParking)
{
$this->importantDescParking = $importantDescParking;
return $this;
}
/**
* Get importantDescParking
*
* @return string
*/
public function getImportantDescParking()
{
return $this->importantDescParking;
}
/**
* @return Collection<int, ReservationLoungeWebDescription>
*/
public function getReservationLoungeWebDescriptions(): Collection
{
return $this->reservationLoungeWebDescriptions;
}
public function addReservationLoungeWebDescription(ReservationLoungeWebDescription $reservationLoungeWebDescription): self
{
if (!$this->reservationLoungeWebDescriptions->contains($reservationLoungeWebDescription)) {
$this->reservationLoungeWebDescriptions[] = $reservationLoungeWebDescription;
$reservationLoungeWebDescription->setLounge($this);
}
return $this;
}
public function removeReservationLoungeWebDescription(ReservationLoungeWebDescription $reservationLoungeWebDescription): self
{
if ($this->reservationLoungeWebDescriptions->removeElement($reservationLoungeWebDescription)) {
// set the owning side to null (unless already changed)
if ($reservationLoungeWebDescription->getLounge() === $this) {
$reservationLoungeWebDescription->setLounge(null);
}
}
return $this;
}
public function getSpace(): ?Space
{
return $this->space;
}
public function setSpace(?Space $space): self
{
$this->space = $space;
return $this;
}
}