HEX
Server: Apache
System: Linux clpupre 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
User: undanet (1000)
PHP: 7.4.3
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/undanet/www//PortalEmpleo/src/Entity/DboCandidato.php
<?php

namespace PortalEmpleo\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * DboCandidato
 *
 * @ORM\Table(name="dbo_candidato", indexes={@ORM\Index(name="FK_candidato_area", columns={"CodigoArea"}), @ORM\Index(name="FK_candidato_materia", columns={"CodigoMateria"}), @ORM\Index(name="FK_candidato_titulacion", columns={"CodigoTitulacion"}), @ORM\Index(name="FK_candidato_wp_users", columns={"CodigoUsuarioWP"})})
 * @ORM\Entity
 */
class DboCandidato
{
    /**
     * @var int
     *
     * @ORM\Column(name="IdCandidato", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $idcandidato;

    /**
     * @var string
     *
     * @ORM\Column(name="Nombre", type="string", length=75, nullable=false)
     */
    private $nombre;

    /**
     * @var string
     *
     * @ORM\Column(name="Apellido1", type="string", length=50, nullable=false)
     */
    private $apellido1;

    /**
     * @var string|null
     *
     * @ORM\Column(name="Apellido2", type="string", length=50, nullable=true)
     */
    private $apellido2;

    /**
     * @var string
     *
     * @ORM\Column(name="Documento", type="string", length=12, nullable=false)
     */
    private $documento;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="FechaNacimiento", type="datetime", nullable=false)
     */
    private $fechanacimiento;

    /**
     * @var int
     *
     * @ORM\Column(name="CodigoRangoExperiencia", type="integer", nullable=false)
     */
//    private $codigorangoexperiencia;

    /**
     * @var int|null
     *
     * @ORM\Column(name="CodigoCandidatoPerfil", type="integer", nullable=true)
     */
//    private $codigocandidatoperfil;

    /**
     * @var string|null
     *
     * @ORM\Column(name="Puesto", type="string", length=200, nullable=true)
     */
    private $puesto;

    /**
     * @var string|null
     *
     * @ORM\Column(name="DescripcionMaster", type="string", length=100, nullable=true)
     */
    private $descripcionmaster;

    /**
     * @var string|null
     *
     * @ORM\Column(name="DescripcionEspecializacion", type="string", length=100, nullable=true)
     */
    private $descripcionespecializacion;

    /**
     * @var string
     *
     * @ORM\Column(name="RutaCV", type="string", length=300, nullable=false)
     */
    private $rutacv;

    /**
     * @var string|null
     *
     * @ORM\Column(name="RutaCP", type="string", length=300, nullable=true)
     */
    private $rutacp;

    /**
     * @var string|null
     *
     * @ORM\Column(name="Motivacion", type="string", length=350, nullable=true)
     */
    private $motivacion;

    /**
     * @var bool
     *
     * @ORM\Column(name="HaParticipadoAnteriormente", type="boolean", nullable=false)
     */
    private $haparticipadoanteriormente;

    /**
     * @var string|null
     *
     * @ORM\Column(name="ComoConocido", type="string", length=100, nullable=true)
     */
    private $comoconocido;

    /**
     * @var bool
     *
     * @ORM\Column(name="AceptaRGPD", type="boolean", nullable=false)
     */
    private $aceptargpd;

    /**
     * @var bool
     *
     * @ORM\Column(name="AceptaRecibirEmails", type="boolean", nullable=false)
     */
    private $aceptarecibiremails;

    /**
     * @var bool
     *
     * @ORM\Column(name="Baja", type="boolean", nullable=false)
     */
    private $baja;

    /**
     * @var \DboTitulacion
     *
     * @ORM\ManyToOne(targetEntity="DboTitulacion", fetch="EAGER",cascade={"merge"})
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="CodigoTitulacion", referencedColumnName="IdTitulacion")
     * })
     */
    private $codigotitulacion;

    /**
     * @var \DboArea
     *
     * @ORM\ManyToOne(targetEntity="DboArea", fetch="EAGER",cascade={"merge"})
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="CodigoArea", referencedColumnName="IdArea")
     * })
     */
    private $codigoarea;

    /**
     * @var \DboMateria
     *
     * @ORM\ManyToOne(targetEntity="DboMateria", fetch="EAGER",cascade={"merge"})
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="CodigoMateria", referencedColumnName="IdMateria")
     * })
     */
    private $codigomateria;

    /**
     * @var \WpUsers
     *
     * @ORM\ManyToOne(targetEntity="WpUsers",cascade={"merge"})
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="CodigoUsuarioWP", referencedColumnName="ID")
     * })
     */
    private $codigousuariowp;

    /**
     * Get the value of idcandidato
     *
     * @return  int
     */ 
    public function getIdcandidato()
    {
        return $this->idcandidato;
    }

    /**
     * Set the value of idcandidato
     *
     * @param  int  $idcandidato
     *
     * @return  self
     */ 
    public function setIdcandidato(int $idcandidato)
    {
        $this->idcandidato = $idcandidato;

        return $this;
    }

    /**
     * Get the value of nombre
     *
     * @return  string
     */ 
    public function getNombre()
    {
        return $this->nombre;
    }

    /**
     * Set the value of nombre
     *
     * @param  string  $nombre
     *
     * @return  self
     */ 
    public function setNombre(string $nombre)
    {
        $this->nombre = $nombre;

        return $this;
    }

    /**
     * Get the value of apellido1
     *
     * @return  string
     */ 
    public function getApellido1()
    {
        return $this->apellido1;
    }

    /**
     * Set the value of apellido1
     *
     * @param  string  $apellido1
     *
     * @return  self
     */ 
    public function setApellido1(string $apellido1)
    {
        $this->apellido1 = $apellido1;

        return $this;
    }

    /**
     * Get the value of apellido2
     *
     * @return  string|null
     */ 
    public function getApellido2()
    {
        return $this->apellido2;
    }

    /**
     * Set the value of apellido2
     *
     * @param  string|null  $apellido2
     *
     * @return  self
     */ 
    public function setApellido2($apellido2)
    {
        $this->apellido2 = $apellido2;

        return $this;
    }

    /**
     * Get the value of documento
     *
     * @return  string
     */ 
    public function getDocumento()
    {
        return $this->documento;
    }

    /**
     * Set the value of documento
     *
     * @param  string  $documento
     *
     * @return  self
     */ 
    public function setDocumento(string $documento)
    {
        $this->documento = $documento;

        return $this;
    }

    /**
     * Get the value of fechanacimiento
     *
     * @return  \DateTime
     */ 
    public function getFechanacimiento()
    {
        return $this->fechanacimiento;
    }

    /**
     * Set the value of fechanacimiento
     *
     * @param  \DateTime  $fechanacimiento
     *
     * @return  self
     */ 
    public function setFechanacimiento(\DateTime $fechanacimiento)
    {
        $this->fechanacimiento = $fechanacimiento;

        return $this;
    }

    /**
     * Get the value of puesto
     *
     * @return  string|null
     */ 
    public function getPuesto()
    {
        return $this->puesto;
    }

    /**
     * Set the value of puesto
     *
     * @param  string|null  $puesto
     *
     * @return  self
     */ 
    public function setPuesto($puesto)
    {
        $this->puesto = $puesto;

        return $this;
    }

    /**
     * Get the value of descripcionmaster
     *
     * @return  string|null
     */ 
    public function getDescripcionmaster()
    {
        return $this->descripcionmaster;
    }

    /**
     * Set the value of descripcionmaster
     *
     * @param  string|null  $descripcionmaster
     *
     * @return  self
     */ 
    public function setDescripcionmaster($descripcionmaster)
    {
        $this->descripcionmaster = $descripcionmaster;

        return $this;
    }

    /**
     * Get the value of descripcionespecializacion
     *
     * @return  string|null
     */ 
    public function getDescripcionespecializacion()
    {
        return $this->descripcionespecializacion;
    }

    /**
     * Set the value of descripcionespecializacion
     *
     * @param  string|null  $descripcionespecializacion
     *
     * @return  self
     */ 
    public function setDescripcionespecializacion($descripcionespecializacion)
    {
        $this->descripcionespecializacion = $descripcionespecializacion;

        return $this;
    }

    /**
     * Get the value of rutacv
     *
     * @return  string
     */ 
    public function getRutacv()
    {
        return $this->rutacv;
    }

    /**
     * Set the value of rutacv
     *
     * @param  string  $rutacv
     *
     * @return  self
     */ 
    public function setRutacv(string $rutacv)
    {
        $this->rutacv = $rutacv;

        return $this;
    }

    /**
     * Get the value of rutacp
     *
     * @return  string|null
     */ 
    public function getRutacp()
    {
        return $this->rutacp;
    }

    /**
     * Set the value of rutacp
     *
     * @param  string|null  $rutacp
     *
     * @return  self
     */ 
    public function setRutacp($rutacp)
    {
        $this->rutacp = $rutacp;

        return $this;
    }

    /**
     * Get the value of motivacion
     *
     * @return  string|null
     */ 
    public function getMotivacion()
    {
        return $this->motivacion;
    }

    /**
     * Set the value of motivacion
     *
     * @param  string|null  $motivacion
     *
     * @return  self
     */ 
    public function setMotivacion($motivacion)
    {
        $this->motivacion = $motivacion;

        return $this;
    }

    /**
     * Get the value of haparticipadoanteriormente
     *
     * @return  bool
     */ 
    public function getHaparticipadoanteriormente()
    {
        return $this->haparticipadoanteriormente;
    }

    /**
     * Set the value of haparticipadoanteriormente
     *
     * @param  bool  $haparticipadoanteriormente
     *
     * @return  self
     */ 
    public function setHaparticipadoanteriormente(bool $haparticipadoanteriormente)
    {
        $this->haparticipadoanteriormente = $haparticipadoanteriormente;

        return $this;
    }

    /**
     * Get the value of comoconocido
     *
     * @return  string|null
     */ 
    public function getComoconocido()
    {
        return $this->comoconocido;
    }

    /**
     * Set the value of comoconocido
     *
     * @param  string|null  $comoconocido
     *
     * @return  self
     */ 
    public function setComoconocido($comoconocido)
    {
        $this->comoconocido = $comoconocido;

        return $this;
    }

    /**
     * Get the value of aceptargpd
     *
     * @return  bool
     */ 
    public function getAceptargpd()
    {
        return $this->aceptargpd;
    }

    /**
     * Set the value of aceptargpd
     *
     * @param  bool  $aceptargpd
     *
     * @return  self
     */ 
    public function setAceptargpd(bool $aceptargpd)
    {
        $this->aceptargpd = $aceptargpd;

        return $this;
    }

    /**
     * Get the value of aceptarecibiremails
     *
     * @return  bool
     */ 
    public function getAceptarecibiremails()
    {
        return $this->aceptarecibiremails;
    }

    /**
     * Set the value of aceptarecibiremails
     *
     * @param  bool  $aceptarecibiremails
     *
     * @return  self
     */ 
    public function setAceptarecibiremails(bool $aceptarecibiremails)
    {
        $this->aceptarecibiremails = $aceptarecibiremails;

        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 codigotitulacion
     *
     * @return  \DboTitulacion
     */ 
    public function getCodigotitulacion()
    {
        return $this->codigotitulacion;
    }

    /**
     * Set the value of codigotitulacion
     *
     * @param  \DboTitulacion  $codigotitulacion
     *
     * @return  self
     */ 
    public function setCodigotitulacion2(DboTitulacion $codigotitulacion)
    {
        $this->codigotitulacion = $codigotitulacion;

        return $this;
    }

    /**
     * Set the value of codigotitulacion
     *
     * @param  int  $codigotitulacion
     *
     * @return  self
     */ 
    public function setCodigotitulacion(int $codigotitulacion)
    {
        $v = new DboTitulacion();
        $v->setIdtitulacion($codigotitulacion);
        $this->codigotitulacion = $v;

        return $this;
    }

    /**
    * Get the value of codigoarea
    *
    * @return  \DboArea|null
    */ 
    public function getCodigoarea()
    {
        return $this->codigoarea;
    }

    /**
     * Set the value of codigoarea
     *
     * @param  \DboArea|null  $codigoarea
     *
     * @return  self
     */ 
    public function setCodigoarea2(DboArea $codigoarea)
    {
        $this->codigoarea = $codigoarea;

        return $this;
    }
    

    /**
     * Set the value of codigoarea
     *
     * @param  int  $codigoarea
     *
     * @return  self
     */ 
    public function setCodigoarea(int $codigoarea)
    {
        $v = new DboArea();
        $v->setIdarea($codigoarea);
        $this->codigoarea = $v;

        return $this;
    }

    /**
     * Get the value of codigomateria
     *
     * @return  \DboMateria|null
     */ 
    public function getCodigomateria()
    {
        return $this->codigomateria;
    }

    /**
     * Set the value of codigomateria
     *
     * @param  \DboMateria|null  $codigomateria
     *
     * @return  self
     */ 
    public function setCodigomateria2(DboMateria $codigomateria)
    {
        $this->codigomateria = $codigomateria;

        return $this;
    }

    /**
     * Set the value of codigomateria
     *
     * @param  int  $codigomateria
     *
     * @return  self
     */ 
    public function setCodigomateria(int $codigomateria)
    {
        $v = new DboMateria();
        $v->setIdmateria($codigomateria);
        $this->codigomateria = $v;

        return $this;
    }

    /**
     * Get the value of codigousuariowp
     *
     * @return  \WpUsers
     */ 
    public function getCodigousuariowp()
    {
        return $this->codigousuariowp;
    }

    /**
     * Set the value of codigousuariowp
     *
     * @param  \WpUsers  $codigousuariowp
     *
     * @return  self
     */ 
    public function setCodigousuariowp2(WpUsers $codigousuariowp)
    {
        $this->codigousuariowp = $codigousuariowp;

        return $this;
    }

    /**
     * Set the value of codigousuariowp
     *
     * @param  int  $codigousuariowp
     *
     * @return  self
     */ 
    public function setCodigousuariowp(int $codigousuariowp)
    {
        $v = new WpUsers();
        $v->setId($codigousuariowp);
        $this->codigousuariowp = $v;

        return $this;
    }
}