<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * @property int $IdEstadoGeografico
 * @property int $IdPais
 * @property string $Nombre
 * @property string $Activo
 * @property PaPai $paPai
 */
class EstadoGeo extends Model
{
    public $timestamps = false;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'Pa_estadogeo';

    /**
     * The primary key for the model.
     *
     * @var string
     */
    protected $primaryKey = 'IdEstadoGeografico';

    /**
     * @var array
     */
    protected $fillable = ['IdPais', 'Nombre', 'Activo'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function paPai()
    {
        return $this->belongsTo('App\Models\Pais', 'IdPais', 'IdPais');
    }
}
