Attributes
This commit is contained in:
@@ -6,13 +6,13 @@ use Illuminate\Database\Eloquent\Relations\Pivot;
|
||||
|
||||
class ArticleAttribute extends Pivot
|
||||
{
|
||||
public function Article()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\Article');
|
||||
}
|
||||
public function article()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\Article');
|
||||
}
|
||||
|
||||
public function Attribute()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\ArticleAttribute');
|
||||
}
|
||||
public function value()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Shop\ArticleAttribute');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user