Attributes

This commit is contained in:
Ludovic CANDELLIER
2020-05-05 19:07:11 +02:00
parent d7917309ee
commit d0e3bb6251
11 changed files with 144 additions and 45 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
class ArticleAttributeFamily extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_article_attribute_families';
public function Values()
{
return $this->hasMany('App\Models\Shop\ArticleAttributeValue','attribute_family_id');
}
}