Fatal error: Uncaught Error: Class 'Illuminate\Database\Eloquent\Model' not found in C:\web\apontamentoSecamaq\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\Pivot.php:8 Stack trace: #0 {main} thrown in C:\web\apontamentoSecamaq\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\Pivot.php on line 8