public function __construct(App $app) { parent::__construct($app); $this->tableProduct = $this->getModel()->getTableName(); $this->tableSku = Sku::getTableName(); $this->tableSkuImages = Sku\Image::getTableName(); $this->tableSupplier = Supplier::getTableName(); $this->tableCategory = Category::getTableName(); $this->tableProductCategory = ProductCategory::getTableName(); }
public function __construct(App $app) { parent::__construct($app); $this->tableProduct = Product::getTableName(); $this->tableSku = $this->getModel()->getTableName(); $this->tableSkuImages = Sku\Image::getTableName(); $this->tableSkuAttributes = Sku\Attribute::getTableName(); $this->tableVariations = Variation::getTableName(); $this->tableProductVariations = \App\Models\Product\Variation::getTableName(); $this->tableVariationAttribute = Variation\Attribute::getTableName(); }