<?php
namespace App\Model;
use App\Entity\LibraryTag;
use App\Entity\ProductAttribute;
use App\Entity\ProductAttributeOption;
use App\Entity\ProductBrand;
use App\Entity\ProductCategory;
use App\Entity\ProductShop;
use Doctrine\Common\Collections\ArrayCollection;
class SearchProduct
{
protected $categid = null;
protected $brandid = null;
protected $shopid = null;
protected $addattrib = null;
protected $opt = null;
protected $search = '';
public function getCategid(): ?ProductCategory
{
return $this->categid;
}
public function setCategid(?ProductCategory $categid): self
{
$this->categid = $categid;
return $this;
}
public function getBrandid(): ?ProductBrand
{
return $this->brandid;
}
public function setBrandid(?ProductBrand $brandid): self
{
$this->brandid = $brandid;
return $this;
}
public function getShopid(): ?ProductShop
{
return $this->shopid;
}
public function setShopid(?ProductShop $shopid): self
{
$this->shopid = $shopid;
return $this;
}
public function getAddattrib(): ?ProductAttribute
{
return $this->addattrib;
}
public function setAddattrib(?ProductAttribute $addattrib): self
{
$this->addattrib = $addattrib;
return $this;
}
public function getOpt(): ?ProductAttributeOption
{
return $this->opt;
}
public function setOpt(?ProductAttributeOption $opt): self
{
$this->opt = $opt;
return $this;
}
public function getSearch(): ?string
{
return $this->search;
}
public function setSearch(?string $search): void
{
$this->search = $search;
}
}