src/Model/SearchProduct.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Model;
  3. use App\Entity\LibraryTag;
  4. use App\Entity\ProductAttribute;
  5. use App\Entity\ProductAttributeOption;
  6. use App\Entity\ProductBrand;
  7. use App\Entity\ProductCategory;
  8. use App\Entity\ProductShop;
  9. use Doctrine\Common\Collections\ArrayCollection;
  10. class SearchProduct
  11. {
  12.     protected $categid null;
  13.     protected $brandid null;
  14.     protected $shopid null;
  15.     protected $addattrib null;
  16.     protected $opt null;
  17.     protected $search '';
  18.     public function getCategid(): ?ProductCategory
  19.     {
  20.         return $this->categid;
  21.     }
  22.     public function setCategid(?ProductCategory $categid): self
  23.     {
  24.         $this->categid $categid;
  25.         return $this;
  26.     }
  27.     public function getBrandid(): ?ProductBrand
  28.     {
  29.         return $this->brandid;
  30.     }
  31.     public function setBrandid(?ProductBrand $brandid): self
  32.     {
  33.         $this->brandid $brandid;
  34.         return $this;
  35.     }
  36.     public function getShopid(): ?ProductShop
  37.     {
  38.         return $this->shopid;
  39.     }
  40.     public function setShopid(?ProductShop $shopid): self
  41.     {
  42.         $this->shopid $shopid;
  43.         return $this;
  44.     }
  45.     public function getAddattrib(): ?ProductAttribute
  46.     {
  47.         return $this->addattrib;
  48.     }
  49.     public function setAddattrib(?ProductAttribute $addattrib): self
  50.     {
  51.         $this->addattrib $addattrib;
  52.         return $this;
  53.     }
  54.     public function getOpt(): ?ProductAttributeOption
  55.     {
  56.         return $this->opt;
  57.     }
  58.     public function setOpt(?ProductAttributeOption $opt): self
  59.     {
  60.         $this->opt $opt;
  61.         return $this;
  62.     }
  63.     public function getSearch(): ?string
  64.     {
  65.         return $this->search;
  66.     }
  67.     public function setSearch(?string $search): void
  68.     {
  69.         $this->search $search;
  70.     }
  71. }