<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* TbPais
*
* @ORM\Table(name="tb_pais", uniqueConstraints={@ORM\UniqueConstraint(name="strid_pais_UNIQUE", columns={"strid_pais"})}, indexes={@ORM\Index(name="bool_estado", columns={"bool_estado"})})
* @ORM\Entity(repositoryClass=TbPaisRepository::class)
*/
class TbPais
{
/**
* @var string
*
* @ORM\Column(name="strid_pais", type="string", length=6, nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $stridPais;
/**
* @var string
*
* @ORM\Column(name="str_nombre_pais", type="string", length=100, nullable=false, options={"comment"="Nombre del pais"})
*/
private $strNombrePais;
/**
* @var bool
*
* @ORM\Column(name="bool_estado", type="boolean", nullable=false, options={"default"="1","comment"="Estado: 0: Inactivo ; 1: Activo"})
*/
private $boolEstado = true;
public function getStridPais(): ?string
{
return $this->stridPais;
}
public function getStrNombrePais(): ?string
{
return $this->strNombrePais;
}
public function setStrNombrePais(string $strNombrePais): self
{
$this->strNombrePais = $strNombrePais;
return $this;
}
public function getBoolEstado(): ?bool
{
return $this->boolEstado;
}
public function setBoolEstado(bool $boolEstado): self
{
$this->boolEstado = $boolEstado;
return $this;
}
}