File: /home/undanet/www//PortalEmpleo/src/Entity/DboRol.php
<?php
namespace PortalEmpleo\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DboRol
*
* @ORM\Table(name="dbo_rol")
* @ORM\Entity
*/
class DboRol
{
/**
* @var int
*
* @ORM\Column(name="IdRol", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idrol;
/**
* @var string
*
* @ORM\Column(name="Rol", type="string", length=75, nullable=false)
*/
private $rol;
/**
* @var string|null
*
* @ORM\Column(name="Descripcion", type="string", length=200, nullable=true)
*/
private $descripcion;
/**
* @var bool
*
* @ORM\Column(name="Baja", type="boolean", nullable=false)
*/
private $baja;
/**
* Constructor
*/
public function __construct()
{
$this->codigoidioma = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get the value of idrol
*
* @return int
*/
public function getIdrol()
{
return $this->idrol;
}
/**
* Set the value of idrol
*
* @param int $idrol
*
* @return self
*/
public function setIdrol(int $idrol)
{
$this->idrol = $idrol;
return $this;
}
/**
* Get the value of rol
*
* @return string
*/
public function getRol()
{
return $this->rol;
}
/**
* Set the value of rol
*
* @param string $rol
*
* @return self
*/
public function setRol(string $rol)
{
$this->rol = $rol;
return $this;
}
/**
* Get the value of descripcion
*
* @return string|null
*/
public function getDescripcion()
{
return $this->descripcion;
}
/**
* Set the value of descripcion
*
* @param string|null $descripcion
*
* @return self
*/
public function setDescripcion($descripcion)
{
$this->descripcion = $descripcion;
return $this;
}
/**
* Get the value of baja
*
* @return bool
*/
public function getBaja()
{
return $this->baja;
}
/**
* Set the value of baja
*
* @param bool $baja
*
* @return self
*/
public function setBaja(bool $baja)
{
$this->baja = $baja;
return $this;
}
}