Add new version in repository
This commit is contained in:
19
app/Models/Shop/DistributionChannel.php
Normal file
19
app/Models/Shop/DistributionChannel.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Shop;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Staudenmeir\EloquentHasManyDeep\HasRelationships;
|
||||
|
||||
class DistributionChannel extends Model
|
||||
{
|
||||
use HasRelationships;
|
||||
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_article_families';
|
||||
|
||||
public function tariff_generics()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\TariffGeneric');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user