<?php

// app/Models/Departamento.php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Departamento extends Model
{
    protected $table = 'departamentos';          // ajusta si tu tabla se llama distinto
    protected $primaryKey = 'id_departamento';   // tu PK real (string)
    public $timestamps = false;

    protected $keyType = 'string';               // <- ¡CLAVE!
    public $incrementing = false;                // <- ¡CLAVE!

    protected $fillable = ['id_departamento','departamento'];
}

