hasMany(Servicio::class, 'servicio_id'); } public function historial() { return $this->hasMany(Historiale::class, 'historial_id'); } }