<?php
namespace App\Entity;
use App\Repository\GHDesvinculacionRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'gh_desvinculacion')]
#[ORM\Entity(repositoryClass: GHDesvinculacionRepository::class)]
class GHDesvinculacion {
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fechaDesvinculacion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cartaRenuncia = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacion')]
private ?ParVerificacionGH $verificacionGH = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacion')]
private ?GHContratacion $contratacion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $actaEntrega = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $desvinculacionDian = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $actaDestruccionCarnetDian = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $liquidacion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $liquidacionFirmada = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $soporteLiquidacion = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacion')]
private ?ParEstado $estado = null;
#[ORM\OneToMany(mappedBy: 'desvinculacion', targetEntity: GHEntrevistaRetiro::class)]
private Collection $entrevistaRetiro;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $createAt = null;
#[ORM\Column(length: 50)]
private ?string $createUser = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $updateAt = null;
#[ORM\Column(length: 50)]
private ?string $updateUser = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacion')]
private ?TerPersona $persona = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacion')]
private ?ParMotivoDesvinculacion $motivoDesvinculacion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $pazysalvo = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacionLiquidacion')]
private ?ParEstado $estadoLiquidacion = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $observacionLiquidacion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $documentosFirmados = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $soporte = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $fechaDesvinculacionDian = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $actaDestruccionCarnetOpain = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $fechaDesvinculacionOpain = null;
#[ORM\ManyToOne(inversedBy: 'recibeProcesoDesvinculacion')]
private ?TerPersona $personaRecibe = null;
#[ORM\OneToMany(mappedBy: 'desvinculacion', targetEntity: GHDesvinculacionDocumentos::class)]
private Collection $desvinculacionDocumentos;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cuentaBancaria = null;
#[ORM\ManyToOne(inversedBy: 'desvinculacion')]
private ?ParMotivoRetiro $motivoRetiro = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $carnetEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $celularEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $correoCorpEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $dotacionEppEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $equipoComputoEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $llavesEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $selloEntregado = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionCarnet = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionCelular = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionCorreo = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionEpp = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionComputo = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionllaves = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $observacionSello = null;
#[ORM\Column(nullable: true)]
private ?bool $notificado2D = null;
#[ORM\Column(nullable: true)]
private ?bool $notificado3D = null;
#[ORM\ManyToOne(inversedBy: 'gHDesvinculacions')]
private ?TerPersona $personaCreaDesvinculacion = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $observacionReversion = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $observacionesPazSalvo = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $fechaComprobanteLiquidacion = null;
public function __construct()
{
$this->entrevistaRetiro = new ArrayCollection();
$this->desvinculacionDocumentos = new ArrayCollection();
}
public function getId(): ?int {
return $this->id;
}
public function getFechaDesvinculacion(): ?\DateTimeInterface {
return $this->fechaDesvinculacion;
}
public function getCartaRenuncia(): ?string {
return $this->cartaRenuncia;
}
public function setFechaDesvinculacion(?\DateTimeInterface $fechaDesvinculacion): void {
$this->fechaDesvinculacion = $fechaDesvinculacion;
}
public function setCartaRenuncia(?string $cartaRenuncia): void {
$this->cartaRenuncia = $cartaRenuncia;
}
public function getVerificacionGH(): ?ParVerificacionGH
{
return $this->verificacionGH;
}
public function setVerificacionGH(?ParVerificacionGH $verificacionGH): static
{
$this->verificacionGH = $verificacionGH;
return $this;
}
public function getContratacion(): ?GHContratacion
{
return $this->contratacion;
}
public function setContratacion(?GHContratacion $contratacion): static
{
$this->contratacion = $contratacion;
return $this;
}
public function getActaEntrega(): ?string
{
return $this->actaEntrega;
}
public function setActaEntrega(?string $actaEntrega): static
{
$this->actaEntrega = $actaEntrega;
return $this;
}
public function getDesvinculacionDian(): ?string
{
return $this->desvinculacionDian;
}
public function setDesvinculacionDian(?string $desvinculacionDian): static
{
$this->desvinculacionDian = $desvinculacionDian;
return $this;
}
public function getActaDestruccionCarnetDian(): ?string
{
return $this->actaDestruccionCarnetDian;
}
public function setActaDestruccionCarnetDian(?string $actaDestruccionCarnetDian): static
{
$this->actaDestruccionCarnetDian = $actaDestruccionCarnetDian;
return $this;
}
public function getLiquidacion(): ?string
{
return $this->liquidacion;
}
public function setLiquidacion(?string $liquidacion): static
{
$this->liquidacion = $liquidacion;
return $this;
}
public function getLiquidacionFirmada(): ?string
{
return $this->liquidacionFirmada;
}
public function setLiquidacionFirmada(?string $liquidacionFirmada): static
{
$this->liquidacionFirmada = $liquidacionFirmada;
return $this;
}
public function getSoporteLiquidacion(): ?string
{
return $this->soporteLiquidacion;
}
public function setSoporteLiquidacion(?string $soporteLiquidacion): static
{
$this->soporteLiquidacion = $soporteLiquidacion;
return $this;
}
public function getEstado(): ?ParEstado
{
return $this->estado;
}
public function setEstado(?ParEstado $estado): static
{
$this->estado = $estado;
return $this;
}
/**
* @return Collection<int, GHEntrevistaRetiro>
*/
public function getEntrevistaRetiro(): Collection
{
return $this->entrevistaRetiro;
}
public function addEntrevistaRetiro(GHEntrevistaRetiro $entrevistaRetiro): static
{
if (!$this->entrevistaRetiro->contains($entrevistaRetiro)) {
$this->entrevistaRetiro->add($entrevistaRetiro);
$entrevistaRetiro->setDesvinculacion($this);
}
return $this;
}
public function removeEntrevistaRetiro(GHEntrevistaRetiro $entrevistaRetiro): static
{
if ($this->entrevistaRetiro->removeElement($entrevistaRetiro)) {
// set the owning side to null (unless already changed)
if ($entrevistaRetiro->getDesvinculacion() === $this) {
$entrevistaRetiro->setDesvinculacion(null);
}
}
return $this;
}
public function getCreateAt(): ?\DateTimeInterface
{
return $this->createAt;
}
public function setCreateAt(\DateTimeInterface $createAt): static
{
$this->createAt = $createAt;
return $this;
}
public function getCreateUser(): ?string
{
return $this->createUser;
}
public function setCreateUser(string $createUser): static
{
$this->createUser = $createUser;
return $this;
}
public function getUpdateAt(): ?\DateTimeInterface
{
return $this->updateAt;
}
public function setUpdateAt(\DateTimeInterface $updateAt): static
{
$this->updateAt = $updateAt;
return $this;
}
public function getUpdateUser(): ?string
{
return $this->updateUser;
}
public function setUpdateUser(string $updateUser): static
{
$this->updateUser = $updateUser;
return $this;
}
public function getPersona(): ?TerPersona
{
return $this->persona;
}
public function setPersona(?TerPersona $persona): static
{
$this->persona = $persona;
return $this;
}
public function getMotivoDesvinculacion(): ?ParMotivoDesvinculacion
{
return $this->motivoDesvinculacion;
}
public function setMotivoDesvinculacion(?ParMotivoDesvinculacion $motivoDesvinculacion): static
{
$this->motivoDesvinculacion = $motivoDesvinculacion;
return $this;
}
public function getPazysalvo(): ?string
{
return $this->pazysalvo;
}
public function setPazysalvo(?string $pazysalvo): static
{
$this->pazysalvo = $pazysalvo;
return $this;
}
public function getEstadoLiquidacion(): ?ParEstado
{
return $this->estadoLiquidacion;
}
public function setEstadoLiquidacion(?ParEstado $estadoLiquidacion): static
{
$this->estadoLiquidacion = $estadoLiquidacion;
return $this;
}
public function getObservacionLiquidacion(): ?string
{
return $this->observacionLiquidacion;
}
public function setObservacionLiquidacion(?string $observacionLiquidacion): static
{
$this->observacionLiquidacion = $observacionLiquidacion;
return $this;
}
public function getDocumentosFirmados(): ?string
{
return $this->documentosFirmados;
}
public function setDocumentosFirmados(?string $documentosFirmados): static
{
$this->documentosFirmados = $documentosFirmados;
return $this;
}
public function getSoporte(): ?string
{
return $this->soporte;
}
public function setSoporte(?string $soporte): static
{
$this->soporte = $soporte;
return $this;
}
public function getFechaDesvinculacionDian(): ?\DateTimeInterface
{
return $this->fechaDesvinculacionDian;
}
public function setFechaDesvinculacionDian(?\DateTimeInterface $fechaDesvinculacionDian): static
{
$this->fechaDesvinculacionDian = $fechaDesvinculacionDian;
return $this;
}
public function getActaDestruccionCarnetOpain(): ?string
{
return $this->actaDestruccionCarnetOpain;
}
public function setActaDestruccionCarnetOpain(?string $actaDestruccionCarnetOpain): static
{
$this->actaDestruccionCarnetOpain = $actaDestruccionCarnetOpain;
return $this;
}
public function getFechaDesvinculacionOpain(): ?\DateTimeInterface
{
return $this->fechaDesvinculacionOpain;
}
public function setFechaDesvinculacionOpain(?\DateTimeInterface $fechaDesvinculacionOpain): static
{
$this->fechaDesvinculacionOpain = $fechaDesvinculacionOpain;
return $this;
}
public function getPersonaRecibe(): ?TerPersona
{
return $this->personaRecibe;
}
public function setPersonaRecibe(?TerPersona $personaRecibe): static
{
$this->personaRecibe = $personaRecibe;
return $this;
}
/**
* @return Collection<int, GHDesvinculacionDocumentos>
*/
public function getDesvinculacionDocumentos(): Collection
{
return $this->desvinculacionDocumentos;
}
public function addDesvinculacionDocumento(GHDesvinculacionDocumentos $desvinculacionDocumento): static
{
if (!$this->desvinculacionDocumentos->contains($desvinculacionDocumento)) {
$this->desvinculacionDocumentos->add($desvinculacionDocumento);
$desvinculacionDocumento->setDesvinculacion($this);
}
return $this;
}
public function removeDesvinculacionDocumento(GHDesvinculacionDocumentos $desvinculacionDocumento): static
{
if ($this->desvinculacionDocumentos->removeElement($desvinculacionDocumento)) {
// set the owning side to null (unless already changed)
if ($desvinculacionDocumento->getDesvinculacion() === $this) {
$desvinculacionDocumento->setDesvinculacion(null);
}
}
return $this;
}
public function getCuentaBancaria(): ?string
{
return $this->cuentaBancaria;
}
public function setCuentaBancaria(?string $cuentaBancaria): static
{
$this->cuentaBancaria = $cuentaBancaria;
return $this;
}
public function getMotivoRetiro(): ?ParMotivoRetiro
{
return $this->motivoRetiro;
}
public function setMotivoRetiro(?ParMotivoRetiro $motivoRetiro): static
{
$this->motivoRetiro = $motivoRetiro;
return $this;
}
public function getCarnetEntregado(): ?string
{
return $this->carnetEntregado;
}
public function setCarnetEntregado(?string $carnetEntregado): static
{
$this->carnetEntregado = $carnetEntregado;
return $this;
}
public function getCelularEntregado(): ?string
{
return $this->celularEntregado;
}
public function setCelularEntregado(?string $celularEntregado): static
{
$this->celularEntregado = $celularEntregado;
return $this;
}
public function getCorreoCorpEntregado(): ?string
{
return $this->correoCorpEntregado;
}
public function setCorreoCorpEntregado(?string $correoCorpEntregado): static
{
$this->correoCorpEntregado = $correoCorpEntregado;
return $this;
}
public function getDotacionEppEntregado(): ?string
{
return $this->dotacionEppEntregado;
}
public function setDotacionEppEntregado(?string $dotacionEppEntregado): static
{
$this->dotacionEppEntregado = $dotacionEppEntregado;
return $this;
}
public function getEquipoComputoEntregado(): ?string
{
return $this->equipoComputoEntregado;
}
public function setEquipoComputoEntregado(?string $equipoComputoEntregado): static
{
$this->equipoComputoEntregado = $equipoComputoEntregado;
return $this;
}
public function getLlavesEntregado(): ?string
{
return $this->llavesEntregado;
}
public function setLlavesEntregado(?string $llavesEntregado): static
{
$this->llavesEntregado = $llavesEntregado;
return $this;
}
public function getSelloEntregado(): ?string
{
return $this->selloEntregado;
}
public function setSelloEntregado(?string $selloEntregado): static
{
$this->selloEntregado = $selloEntregado;
return $this;
}
public function getObservacionCarnet(): ?string
{
return $this->observacionCarnet;
}
public function setObservacionCarnet(?string $observacionCarnet): static
{
$this->observacionCarnet = $observacionCarnet;
return $this;
}
public function getObservacionCelular(): ?string
{
return $this->observacionCelular;
}
public function setObservacionCelular(?string $observacionCelular): static
{
$this->observacionCelular = $observacionCelular;
return $this;
}
public function getObservacionCorreo(): ?string
{
return $this->observacionCorreo;
}
public function setObservacionCorreo(?string $observacionCorreo): static
{
$this->observacionCorreo = $observacionCorreo;
return $this;
}
public function getObservacionEpp(): ?string
{
return $this->observacionEpp;
}
public function setObservacionEpp(?string $observacionEpp): static
{
$this->observacionEpp = $observacionEpp;
return $this;
}
public function getObservacionComputo(): ?string
{
return $this->observacionComputo;
}
public function setObservacionComputo(?string $observacionComputo): static
{
$this->observacionComputo = $observacionComputo;
return $this;
}
public function getObservacionllaves(): ?string
{
return $this->observacionllaves;
}
public function setObservacionllaves(?string $observacionllaves): static
{
$this->observacionllaves = $observacionllaves;
return $this;
}
public function getObservacionSello(): ?string
{
return $this->observacionSello;
}
public function setObservacionSello(?string $observacionSello): static
{
$this->observacionSello = $observacionSello;
return $this;
}
public function isNotificado2D(): ?bool
{
return $this->notificado2D;
}
public function setNotificado2D(?bool $notificado2D): static
{
$this->notificado2D = $notificado2D;
return $this;
}
public function isNotificado3D(): ?bool
{
return $this->notificado3D;
}
public function setNotificado3D(?bool $notificado3D): static
{
$this->notificado3D = $notificado3D;
return $this;
}
public function getPersonaCreaDesvinculacion(): ?TerPersona
{
return $this->personaCreaDesvinculacion;
}
public function setPersonaCreaDesvinculacion(?TerPersona $personaCreaDesvinculacion): static
{
$this->personaCreaDesvinculacion = $personaCreaDesvinculacion;
return $this;
}
public function getObservacionReversion(): ?string
{
return $this->observacionReversion;
}
public function setObservacionReversion(?string $observacionReversion): static
{
$this->observacionReversion = $observacionReversion;
return $this;
}
public function getObservacionesPazSalvo(): ?string
{
return $this->observacionesPazSalvo;
}
public function setObservacionesPazSalvo(?string $observacionesPazSalvo): static
{
$this->observacionesPazSalvo = $observacionesPazSalvo;
return $this;
}
public function getFechaComprobanteLiquidacion(): ?\DateTimeInterface
{
return $this->fechaComprobanteLiquidacion;
}
public function setFechaComprobanteLiquidacion(?\DateTimeInterface $fechaComprobanteLiquidacion): static
{
$this->fechaComprobanteLiquidacion = $fechaComprobanteLiquidacion;
return $this;
}
}