<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * @property int $IdCatalogo
 * @property string $NombreCatalogo
 * @property string $Descripcion
 * @property string $Estado
 * @property PaItemCatalogo[] $paItemCatalogos
 */
class PaCatalogo extends Model
{
    public $timestamps = false;
    /**
     * The table associated with the model.
     * 
     * @var string
     */
    protected $table = 'pa_catalogo';

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

    /**
     * @var array
     */
    protected $fillable = ['NombreCatalogo', 'Descripcion', 'Estado'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function paItemCatalogos()
    {
        return $this->hasMany('App\Models\PaItemCatalogo', 'IdCatalogo', 'IdCatalogo');
    }
}
