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