Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
716cf56cb2.url-de-test.ws
/
htdocs
/
src
/
Entity
/
/srv/data/web/vhosts/716cf56cb2.url-de-test.ws/htdocs/src/Entity/PricesLogements.php
<?php namespace App\Entity; use App\Repository\PricesLogementsRepository; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=PricesLogementsRepository::class) */ class PricesLogements { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="integer") */ private $priceWeek; /** * @ORM\Column(type="integer") */ private $priceNight; /** * @ORM\ManyToOne(targetEntity=Logement::class, inversedBy="pricesLogements") */ private $Logement; /** * @ORM\Column(type="datetime_immutable") */ private $date; public function getId(): ?int { return $this->id; } public function getPriceWeek(): ?int { return $this->priceWeek; } public function setPriceWeek(int $priceWeek): self { $this->priceWeek = $priceWeek; return $this; } public function getPriceNight(): ?int { return $this->priceNight; } public function setPriceNight(int $priceNight): self { $this->priceNight = $priceNight; return $this; } public function getLogement(): ?Logement { return $this->Logement; } public function setLogement(?Logement $Logement): self { $this->Logement = $Logement; return $this; } public function getDate(): ?\DateTimeImmutable { return $this->date; } public function setDate(\DateTimeImmutable $date): self { $this->date = $date; return $this; } }