Added brand storage in product table
This commit is contained in:
@@ -19,6 +19,8 @@ class ProductUpdateEvent extends ProductCreateEvent
|
||||
protected $chapo;
|
||||
protected $description;
|
||||
protected $postscriptum;
|
||||
protected $brand_id;
|
||||
|
||||
|
||||
public function __construct($product_id)
|
||||
{
|
||||
@@ -72,4 +74,22 @@ class ProductUpdateEvent extends ProductCreateEvent
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $brand_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setBrandId($brand_id)
|
||||
{
|
||||
$this->brand_id = $brand_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getBrandId()
|
||||
{
|
||||
return $this->brand_id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user