src/Entity/BienSearch.php line 7

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Symfony\Component\Validator\Constraints as Assert;
  4. class BienSearch {
  5.     /**
  6.      * @var int|null
  7.      */
  8.     private $maxPrice;
  9.     /**
  10.      * @var int|null
  11.      * @Assert\Range(min=10, max=500)
  12.      */
  13.     private $minSurface;
  14.     /**
  15.      * @var string
  16.      */
  17.     private $bienType;
  18.     /**
  19.      * @var string
  20.      */
  21.     private $ville;
  22.     /**
  23.      * @var string
  24.      */
  25.     private $nbPieces;
  26.         /**
  27.      * Get the value of maxPrice
  28.      *
  29.      * @return  int|null
  30.      */
  31.     public function getMaxPrice()
  32.     {
  33.         return $this->maxPrice;
  34.     }
  35.     /**
  36.      * Set the value of maxPrice
  37.      *
  38.      * @param  int|null  $maxPrice
  39.      *
  40.      * @return  self
  41.      */
  42.     public function setMaxPrice($maxPrice)
  43.     {
  44.         $this->maxPrice $maxPrice;
  45.         return $this;
  46.     }
  47.     /**
  48.      * Get the value of minSurface
  49.      *
  50.      * @return  int|null
  51.      */
  52.     public function getMinSurface()
  53.     {
  54.         return $this->minSurface;
  55.     }
  56.     /**
  57.      * Set the value of minSurface
  58.      *
  59.      * @param  int|null  $minSurface
  60.      *
  61.      * @return  self
  62.      */
  63.     public function setMinSurface($minSurface)
  64.     {
  65.         $this->minSurface $minSurface;
  66.         return $this;
  67.     }
  68.     /**
  69.      * Get the value of bienType
  70.      *
  71.      * @return  string
  72.      */
  73.     public function getBienType()
  74.     {
  75.         return $this->bienType;
  76.     }
  77.     /**
  78.      * Set the value of bienType
  79.      *
  80.      * @param  string  $bienType
  81.      *
  82.      * @return  self
  83.      */
  84.     public function setBienType(string $bienType)
  85.     {
  86.         $this->bienType $bienType;
  87.         return $this;
  88.     }
  89.     /**
  90.      * Get the value of ville
  91.      *
  92.      * @return  string
  93.      */
  94.     public function getVille()
  95.     {
  96.         return $this->ville;
  97.     }
  98.     /**
  99.      * Set the value of ville
  100.      *
  101.      * @param  string  $ville
  102.      *
  103.      * @return  self
  104.      */
  105.     public function setVille(string $ville)
  106.     {
  107.         $this->ville $ville;
  108.         return $this;
  109.     }
  110.     /**
  111.      * Get the value of nbPieces
  112.      *
  113.      * @return  string
  114.      */
  115.     public function getNbPieces()
  116.     {
  117.         return $this->nbPieces;
  118.     }
  119.     /**
  120.      * Set the value of nbPieces
  121.      *
  122.      * @param  string  $nbPieces
  123.      *
  124.      * @return  self
  125.      */
  126.     public function setNbPieces(string $nbPieces)
  127.     {
  128.         $this->nbPieces $nbPieces;
  129.         return $this;
  130.     }
  131. }