File: /home/undanet/www/PortalEmpleo/src/Entity/DboConvocatoriaresolucion.php
<?php
namespace PortalEmpleo\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DboConvocatoriaresolucion
*
* @ORM\Table(name="dbo_convocatoriaresolucion", indexes={@ORM\Index(name="FK_convocatoriaresolucion_convocatoria_idx", columns={"CodigoConvocatoria"})})
* @ORM\Entity
*/
class DboConvocatoriaresolucion
{
/**
* @var int
*
* @ORM\Column(name="IdConvocatoriaResolucion", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idconvocatoriaresolucion;
/**
* @var string
*
* @ORM\Column(name="Descripcion", type="string", length=200, nullable=false)
*/
private $descripcion;
/**
* @var \DateTime
*
* @ORM\Column(name="FechaResolucion", type="datetime", nullable=false)
*/
private $fecharesolucion;
/**
* @var string
*
* @ORM\Column(name="RutaFicheroResolucion", type="string", length=200, nullable=false)
*/
private $rutaficheroresolucion;
/**
* @var bool
*
* @ORM\Column(name="Visible", type="boolean", nullable=true)
*/
private $visible;
/**
* @var bool
*
* @ORM\Column(name="Baja", type="boolean", nullable=false)
*/
private $baja;
/**
* @var \DboConvocatoria
*
* @ORM\ManyToOne(targetEntity="DboConvocatoria", fetch="EAGER",cascade={"merge"})
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="CodigoConvocatoria", referencedColumnName="IdConvocatoria")
* })
*/
private $codigoconvocatoria;
/**
* Get the value of idconvocatoriaresolucion
*
* @return int
*/
public function getIdconvocatoriaresolucion()
{
return $this->idconvocatoriaresolucion;
}
/**
* Set the value of idconvocatoriaresolucion
*
* @param int $idconvocatoriaresolucion
*
* @return self
*/
public function setIdconvocatoriaresolucion(int $idconvocatoriaresolucion)
{
$this->idconvocatoriaresolucion = $idconvocatoriaresolucion;
return $this;
}
/**
* Get the value of descripcion
*
* @return string
*/
public function getDescripcion()
{
return $this->descripcion;
}
/**
* Set the value of descripcion
*
* @param string $descripcion
*
* @return self
*/
public function setDescripcion(string $descripcion)
{
$this->descripcion = $descripcion;
return $this;
}
/**
* Get the value of fecharesolucion
*
* @return \DateTime
*/
public function getFecharesolucion()
{
return $this->fecharesolucion;
}
/**
* Set the value of fecharesolucion
*
* @param \DateTime $fecharesolucion
*
* @return self
*/
public function setFecharesolucion(\DateTime $fecharesolucion)
{
$this->fecharesolucion = $fecharesolucion;
return $this;
}
/**
* Get the value of rutaficheroresolucion
*
* @return string
*/
public function getRutaficheroresolucion()
{
return $this->rutaficheroresolucion;
}
/**
* Set the value of rutaficheroresolucion
*
* @param string $rutaficheroresolucion
*
* @return self
*/
public function setRutaficheroresolucion(string $rutaficheroresolucion)
{
$this->rutaficheroresolucion = $rutaficheroresolucion;
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;
}
/**
* Get the value of visible
*
* @return bool
*/
public function getVisible()
{
return $this->visible;
}
/**
* Set the value of visible
*
* @param bool $visible
*
* @return self
*/
public function setVisible(bool $visible)
{
$this->visible = $visible;
return $this;
}
/**
* Get the value of codigoconvocatoria
*
* @return \DboConvocatoria
*/
public function getCodigoconvocatoria()
{
return $this->codigoconvocatoria;
}
/**
* Set the value of codigoconvocatoria
*
* @param \DboConvocatoria $codigoconvocatoria
*
* @return self
*/
public function setCodigoconvocatoria2(DboConvocatoria $codigoconvocatoria)
{
$this->codigoconvocatoria = $codigoconvocatoria;
return $this;
}
/**
* Set the value of codigoconvocatoria
*
* @param int $codigoconvocatoria
*
* @return self
*/
public function setCodigoconvocatoria(int $codigoconvocatoria)
{
$v = new DboConvocatoria();
$v->setIdconvocatoria($codigoconvocatoria);
$this->codigoconvocatoria = $v;
return $this;
}
}