belongsTo(User::class, 'user_id'); } public function userexpert() { return $this->belongsTo(UserExpert::class, 'user_expert_id'); } }