src/Entity/ArticleSearch.php line 6

Open in your IDE?
  1. <?php 
  2. namespace App\Entity;
  3. use Symfony\Component\Validator\Constraints as Assert;
  4. class ArticleSearch{        
  5.     /**
  6.      * mots
  7.      *
  8.      * @var mixed
  9.      */
  10.     private $mots;
  11.     /**
  12.      * category
  13.      *
  14.      * @var mixed
  15.      */
  16.     private $category;
  17.     private $category2;
  18.     
  19.     private $category3;
  20.     /**
  21.      * @Assert\Range(
  22.      * min="100"
  23.      * )
  24.      */
  25.     private $maxPrice;
  26.         /**
  27.      * @Assert\Range(
  28.      * min="100"
  29.      * )
  30.      */
  31.     private $minPrice;
  32.     private $brand;
  33.     private $etat;
  34.     /**
  35.      * Get the value of maxPrice
  36.      * 
  37.      */ 
  38.     public function getMaxPrice()
  39.     {
  40.         return $this->maxPrice;
  41.     }
  42.     /**
  43.      * Set the value of maxPrice
  44.      * @return  self
  45.      */ 
  46.     public function setMaxPrice(int $maxPrice)
  47.     {
  48.         $this->maxPrice $maxPrice;
  49.         return $this;
  50.     }
  51.     /**
  52.      * Get min="100",
  53.      */ 
  54.     public function getMinPrice()
  55.     {
  56.         return $this->minPrice;
  57.     }
  58.     /**
  59.      * Set min="100",
  60.      *
  61.      * @return  self
  62.      */ 
  63.     public function setMinPrice($minPrice)
  64.     {
  65.         $this->minPrice $minPrice;
  66.         return $this;
  67.     }
  68.     /**
  69.      * Get the value of category
  70.      */ 
  71.     public function getCategory()
  72.     {
  73.         return $this->category;
  74.     }
  75.     /**
  76.      * Set the value of category
  77.      *
  78.      * @return  self
  79.      */ 
  80.     public function setCategory($category)
  81.     {
  82.         $this->category $category;
  83.         return $this;
  84.     }
  85.     /**
  86.      * Get the value of mots
  87.      */ 
  88.     public function getMots()
  89.     {
  90.         return $this->mots;
  91.     }
  92.     /**
  93.      * Set the value of mots
  94.      *
  95.      * @return  self
  96.      */ 
  97.     public function setMots($mots)
  98.     {
  99.         $this->mots $mots;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get the value of brand
  104.      */ 
  105.     public function getBrand()
  106.     {
  107.         return $this->brand;
  108.     }
  109.     /**
  110.      * Set the value of brand
  111.      *
  112.      * @return  self
  113.      */ 
  114.     public function setBrand($brand)
  115.     {
  116.         $this->brand $brand;
  117.         return $this;
  118.     }
  119.     /**
  120.      * Get the value of etat
  121.      */ 
  122.     public function getEtat()
  123.     {
  124.         return $this->etat;
  125.     }
  126.     /**
  127.      * Set the value of etat
  128.      *
  129.      * @return  self
  130.      */ 
  131.     public function setEtat($etat)
  132.     {
  133.         $this->etat $etat;
  134.         return $this;
  135.     }
  136.     /**
  137.      * Get the value of category3
  138.      */ 
  139.     public function getCategory3()
  140.     {
  141.         return $this->category3;
  142.     }
  143.     /**
  144.      * Set the value of category3
  145.      *
  146.      * @return  self
  147.      */ 
  148.     public function setCategory3($category3)
  149.     {
  150.         $this->category3 $category3;
  151.         return $this;
  152.     }
  153.     /**
  154.      * Get the value of category2
  155.      */ 
  156.     public function getCategory2()
  157.     {
  158.         return $this->category2;
  159.     }
  160.     /**
  161.      * Set the value of category2
  162.      *
  163.      * @return  self
  164.      */ 
  165.     public function setCategory2($category2)
  166.     {
  167.         $this->category2 $category2;
  168.         return $this;
  169.     }
  170. }