<?php
namespace App\Entity;
class AnnonceSearch
{
/**
* @var int|null
*/
private $minsurface;
/**
* @var int|null
*/
private $maxprice;
/**
* @var int|null
*/
private $nbchambre;
/**
* @return int|null
*/
public function getNbchambre(): ?int
{
return $this->nbchambre;
}
/**
* @param int|null $nbchambre
* @return AnnonceSearch
*/
public function setNbchambre( int $nbchambre): AnnonceSearch
{
$this->nbchambre = $nbchambre;
return $this;
}
/**
* @return int|null
*/
public function getMinsurface(): ?int
{
return $this->minsurface;
}
/**
* @param int|null $minsurface
* @return AnnonceSearch
*/
public function setMinsurface(int $minsurface): AnnonceSearch
{
$this->minsurface = $minsurface;
return $this;
}
/**
* @return int|null
*/
public function getMaxprice(): ?int
{
return $this->maxprice;
}
/**
* @param int|null $maxprice
* @return AnnonceSearch
*/
public function setMaxprice(int $maxprice): AnnonceSearch
{
$this->maxprice = $maxprice;
return $this;
}
}