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,16 @@
<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
class ArticleAttributeValue extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_article_attribute_values';
public function attribute_family()
{
return $this->belongsTo('App\Models\Shop\ArticleAttributeFamily');
}
}