Files
opensem/app/Models/Shop/ArticleAttributeFamily.php
Ludovic CANDELLIER d0e3bb6251 Attributes
2020-05-05 19:07:11 +02:00

17 lines
350 B
PHP

<?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');
}
}