belongsTo(User::class)->withTrashed(); } public function religion() { return $this->belongsTo(Religion::class)->withTrashed(); } public function caste() { return $this->belongsTo(Caste::class)->withTrashed(); } public function sub_caste() { return $this->belongsTo(SubCaste::class)->withTrashed(); } public function family_value() { return $this->belongsTo(FamilyValue::class)->withTrashed(); } }