refactor, better class namespace intergration
This commit is contained in:
@@ -10,10 +10,10 @@ class DistributionChannel extends Model
|
||||
use HasRelationships;
|
||||
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_article_families';
|
||||
protected $table = 'shop_distribution_channel';
|
||||
|
||||
public function tariff_generics()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\TariffGeneric');
|
||||
return $this->hasMany(TariffGeneric::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user