<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class TipoVia extends Model
{
    use HasFactory;

    protected $table = 'tipo_via'; // nombre exacto de la tabla

    protected $primaryKey = 'id_tipovia';

    public $timestamps = true; // activa created_at y updated_at

    protected $fillable = [
        'nombre_tipovia',
        'descripcion',
    ];
}
