hasOne(Order::class,'id','order_id'); } public function patients() { return $this->hasOne(OrderPatient::class,'id','order_patient_id'); } }