This commit is contained in:
Ludovic CANDELLIER
2021-04-05 23:40:39 +02:00
parent 70190cc1c9
commit 92a8a0ed69
3 changed files with 9 additions and 4 deletions

View File

@@ -14,4 +14,9 @@ class TagGroup extends Model
{
return $this->hasMany('App\Models\Shop\Tag');
}
public function article_family()
{
return $this->belongsTo('App\Models\Shop\ArticleFamily');
}
}