Attributes
This commit is contained in:
17
app/Models/Shop/ArticleAttributeFamily.php
Normal file
17
app/Models/Shop/ArticleAttributeFamily.php
Normal 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');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user