cache responces achyklar
This commit is contained in:
parent
f641e6e576
commit
ac820283cd
|
|
@ -80,8 +80,8 @@ class Brand extends Model implements BrandContract
|
|||
return $this->hasMany(ProductProxy::modelClass(), 'brand_id');
|
||||
}
|
||||
|
||||
public function flats():HasMany{
|
||||
return $this->hasMany(ProductFlatProxy::modelClass(), 'brand_id');
|
||||
public function flats():BelongsToMany{
|
||||
return $this->belongsToMany(ProductFlatProxy::modelClass(), 'brand_id');
|
||||
}
|
||||
|
||||
public function sellers():BelongsToMany
|
||||
|
|
|
|||
Loading…
Reference in New Issue