<?php

namespace App\Models;

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

class Pais extends Model
{
    use HasFactory;

    protected $table = 'pais';
    protected $primaryKey = 'cve_pais';

    public function ciudades()
    {
        return $this->hasMany(Ciudad::class, 'cve_pais');
    }
}
