belongsTo(Brand::class,'brand_id','id')->withTrashed(); } public function products() { return $this->hasMany(Product::class,'product_model_id','id')->withTrashed(); } }