src/Entity/OfferHebergement.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\OfferHebergementRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=OfferHebergementRepository::class)
  7.  */
  8. class OfferHebergement
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Offer::class, inversedBy="offerHebergements")
  18.      */
  19.     private $offer;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Hebergement::class, inversedBy="offerHebergements")
  22.      */
  23.     private $hebergement;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $blurb;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $priceFrom;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $boardType;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $boardNote;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getOffer(): ?Offer
  45.     {
  46.         return $this->offer;
  47.     }
  48.     public function setOffer(?Offer $offer): self
  49.     {
  50.         $this->offer $offer;
  51.         return $this;
  52.     }
  53.     public function getHebergement(): ?Hebergement
  54.     {
  55.         return $this->hebergement;
  56.     }
  57.     public function setHebergement(?Hebergement $hebergement): self
  58.     {
  59.         $this->hebergement $hebergement;
  60.         return $this;
  61.     }
  62.     public function getBlurb(): ?string
  63.     {
  64.         return $this->blurb;
  65.     }
  66.     public function setBlurb(?string $blurb): self
  67.     {
  68.         $this->blurb $blurb;
  69.         return $this;
  70.     }
  71.     public function getPriceFrom(): ?string
  72.     {
  73.         return $this->priceFrom;
  74.     }
  75.     public function setPriceFrom(?string $priceFrom): self
  76.     {
  77.         $this->priceFrom $priceFrom;
  78.         return $this;
  79.     }
  80.     public function getBoardType(): ?string
  81.     {
  82.         return $this->boardType;
  83.     }
  84.     public function setBoardType(?string $boardType): self
  85.     {
  86.         $this->boardType $boardType;
  87.         return $this;
  88.     }
  89.     public function getBoardNote(): ?string
  90.     {
  91.         return $this->boardNote;
  92.     }
  93.     public function setBoardNote(?string $boardNote): self
  94.     {
  95.         $this->boardNote $boardNote;
  96.         return $this;
  97.     }
  98. }