Fixes after reading excel files and discuss with eric
This commit is contained in:
@@ -10,6 +10,11 @@ class PriceGenericCategory extends Model
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_price_generic_categories';
|
||||
|
||||
public function article_family()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\ArticleFamily');
|
||||
}
|
||||
|
||||
public function price_generics()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\PriceGeneric','category_id');
|
||||
|
||||
Reference in New Issue
Block a user