<?php
namespace App\Entity;
use Symfony\Component\Validator\Constraints as Assert;
class BienSearch {
/**
* @var int|null
*/
private $maxPrice;
/**
* @var int|null
* @Assert\Range(min=10, max=500)
*/
private $minSurface;
/**
* @var string
*/
private $bienType;
/**
* @var string
*/
private $ville;
/**
* @var string
*/
private $nbPieces;
/**
* Get the value of maxPrice
*
* @return int|null
*/
public function getMaxPrice()
{
return $this->maxPrice;
}
/**
* Set the value of maxPrice
*
* @param int|null $maxPrice
*
* @return self
*/
public function setMaxPrice($maxPrice)
{
$this->maxPrice = $maxPrice;
return $this;
}
/**
* Get the value of minSurface
*
* @return int|null
*/
public function getMinSurface()
{
return $this->minSurface;
}
/**
* Set the value of minSurface
*
* @param int|null $minSurface
*
* @return self
*/
public function setMinSurface($minSurface)
{
$this->minSurface = $minSurface;
return $this;
}
/**
* Get the value of bienType
*
* @return string
*/
public function getBienType()
{
return $this->bienType;
}
/**
* Set the value of bienType
*
* @param string $bienType
*
* @return self
*/
public function setBienType(string $bienType)
{
$this->bienType = $bienType;
return $this;
}
/**
* Get the value of ville
*
* @return string
*/
public function getVille()
{
return $this->ville;
}
/**
* Set the value of ville
*
* @param string $ville
*
* @return self
*/
public function setVille(string $ville)
{
$this->ville = $ville;
return $this;
}
/**
* Get the value of nbPieces
*
* @return string
*/
public function getNbPieces()
{
return $this->nbPieces;
}
/**
* Set the value of nbPieces
*
* @param string $nbPieces
*
* @return self
*/
public function setNbPieces(string $nbPieces)
{
$this->nbPieces = $nbPieces;
return $this;
}
}