<?php
namespace App\Entity;
use App\Repository\OfferHebergementRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=OfferHebergementRepository::class)
*/
class OfferHebergement
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Offer::class, inversedBy="offerHebergements")
*/
private $offer;
/**
* @ORM\ManyToOne(targetEntity=Hebergement::class, inversedBy="offerHebergements")
*/
private $hebergement;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $blurb;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $priceFrom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $boardType;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $boardNote;
public function getId(): ?int
{
return $this->id;
}
public function getOffer(): ?Offer
{
return $this->offer;
}
public function setOffer(?Offer $offer): self
{
$this->offer = $offer;
return $this;
}
public function getHebergement(): ?Hebergement
{
return $this->hebergement;
}
public function setHebergement(?Hebergement $hebergement): self
{
$this->hebergement = $hebergement;
return $this;
}
public function getBlurb(): ?string
{
return $this->blurb;
}
public function setBlurb(?string $blurb): self
{
$this->blurb = $blurb;
return $this;
}
public function getPriceFrom(): ?string
{
return $this->priceFrom;
}
public function setPriceFrom(?string $priceFrom): self
{
$this->priceFrom = $priceFrom;
return $this;
}
public function getBoardType(): ?string
{
return $this->boardType;
}
public function setBoardType(?string $boardType): self
{
$this->boardType = $boardType;
return $this;
}
public function getBoardNote(): ?string
{
return $this->boardNote;
}
public function setBoardNote(?string $boardNote): self
{
$this->boardNote = $boardNote;
return $this;
}
}