<?php
namespace App\Entity;
use App\Repository\SouscroisierepriceroomRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SouscroisierepriceroomRepository::class)
*/
class Souscroisierepriceroom
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Souscroisiereroom::class, inversedBy="souscroisierepricerooms")
*/
private $souscroisiereroom;
/**
* @ORM\ManyToOne(targetEntity=Souscroisiereprice::class, inversedBy="souscroisierepricerooms")
*/
private $souscroisiereprice;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $price;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $etat;
public function getId(): ?int
{
return $this->id;
}
public function getSouscroisiereroom(): ?Souscroisiereroom
{
return $this->souscroisiereroom;
}
public function setSouscroisiereroom(?Souscroisiereroom $souscroisiereroom): self
{
$this->souscroisiereroom = $souscroisiereroom;
return $this;
}
public function getSouscroisiereprice(): ?Souscroisiereprice
{
return $this->souscroisiereprice;
}
public function setSouscroisiereprice(?Souscroisiereprice $souscroisiereprice): self
{
$this->souscroisiereprice = $souscroisiereprice;
return $this;
}
public function getPrice(): ?float
{
return $this->price;
}
public function setPrice(?float $price): self
{
$this->price = $price;
return $this;
}
public function isEtat(): ?bool
{
return $this->etat;
}
public function setEtat(?bool $etat): self
{
$this->etat = $etat;
return $this;
}
}