belongsTo(Religion::class)->withTrashed(); } public function sub_castes() { return $this->hasmany(SubCaste::class)->withTrashed(); } public function spiritual_backgrounds() { return $this->hasmany(SpiritualBackground::class)->withTrashed(); } }