<?php
namespace App\Entity;
use App\Repository\ParProcesoRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ParProcesoRepository::class)]
class ParProceso
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 100)]
private ?string $nombre = null;
#[ORM\OneToMany(mappedBy: 'ParProceso', targetEntity: GHPerfilCargo::class)]
private Collection $idPerfilCargo;
// #[ORM\ManyToMany(targetEntity: GHPerfilCargo::class, mappedBy: 'relacionesInternas')]
// private Collection $perfilCargoRelaciones;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: ParSubproceso::class)]
private Collection $subproceso;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHGrupoTrabajo::class)]
private Collection $grupoTrabajo;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHNovedadNomina::class)]
private Collection $novedadNomina;
#[ORM\ManyToMany(targetEntity: JurNorma::class, mappedBy: 'procesos')]
private Collection $norma;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: ParMotivoJuridico::class)]
private Collection $motivoJuridico;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFSolicitudSuministro::class)]
private Collection $solicitudSuministro;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFTablaRetencion::class)]
private Collection $tablaRetencion;
#[ORM\ManyToMany(targetEntity: DocDocumento::class, inversedBy: 'proceso')]
private Collection $documentos;
#[ORM\Column(length: 100, nullable: true)]
private ?string $codigoRF = null;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFInventarioDocumentalFinanzas::class)]
private Collection $inventarioDocumentalFinanzas;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFFUID::class)]
private Collection $FUID;
#[ORM\Column(length: 255, nullable: true)]
private ?string $fuenteDatosRFFUID = null;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFCambioCustodiaDocumento::class)]
private Collection $cambioCustodiaDocumento;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFDisposicion::class)]
private Collection $disposicion;
#[ORM\ManyToMany(targetEntity: ParCargo::class, inversedBy: 'procesos')]
private Collection $cargos;
#[ORM\OneToMany(mappedBy: 'relacionInterna', targetEntity: GHPerfilCargoRelaciones::class)]
private Collection $perfilCargoRelacionesInternas;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: ParRecursosPerfil::class)]
private Collection $recursosPerfil;
#[ORM\ManyToMany(targetEntity: ParTipoDotacion::class, mappedBy: 'procesos')]
private Collection $tipoDotacion;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: ParInduccion::class)]
private Collection $induccion;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHInduccionProceso::class)]
private Collection $induccionProcesos;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHMatrizEntrenamientoProceso::class)]
private Collection $matrizEntrenamientoProceso;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHEntrenamientoProceso::class)]
private Collection $entrenamientoProcesos;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: SegControlIngreso::class)]
private Collection $controlIngreso;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: SegSolicitudCCTV::class)]
private Collection $solicitudCCTV;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFPrecintoSolicitud::class)]
private Collection $precintoSolicitud;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFPrecintoAsignacion::class)]
private Collection $precintoAsignado;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFSolicitudCompra::class)]
private Collection $solicitudCompras;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: RFOrdenCompra::class)]
private Collection $ordenCompra;
#[ORM\Column(nullable: true)]
private ?bool $activaTablaRetencion = null;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: SecMensaje::class)]
private Collection $mensajes;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHReentrenamiento::class)]
private Collection $reentrenamientos;
#[ORM\OneToMany(mappedBy: 'proceso', targetEntity: GHRegistroOpain::class)]
private Collection $registrosOpain;
#[ORM\OneToMany(mappedBy: 'procesoResponsable', targetEntity: ParSistemaInformatico::class)]
private Collection $sistemasInformaticos;
#[ORM\OneToMany(mappedBy: 'parProceso', targetEntity: GHReentrenamientoProceso::class)]
private Collection $gHReentrenamientoProcesos;
public function __construct()
{
$this->idPerfilCargo = new ArrayCollection();
$this->perfilCargoRelaciones = new ArrayCollection();
$this->subproceso = new ArrayCollection();
$this->grupoTrabajo = new ArrayCollection();
$this->novedadNomina = new ArrayCollection();
$this->norma = new ArrayCollection();
$this->motivoJuridico = new ArrayCollection();
$this->solicitudSuministro = new ArrayCollection();
$this->tablaRetencion = new ArrayCollection();
$this->documentos = new ArrayCollection();
$this->inventarioDocumentalFinanzas = new ArrayCollection();
$this->FUID = new ArrayCollection();
$this->cambioCustodiaDocumento = new ArrayCollection();
$this->disposicion = new ArrayCollection();
$this->cargos = new ArrayCollection();
// $this->perfilCargoRelacionesInternas = new ArrayCollection();
$this->recursosPerfil = new ArrayCollection();
$this->tipoDotacion = new ArrayCollection();
$this->induccion = new ArrayCollection();
$this->induccionProcesos = new ArrayCollection();
$this->matrizEntrenamientoProceso = new ArrayCollection();
$this->entrenamientoProcesos = new ArrayCollection();
$this->controlIngreso = new ArrayCollection();
$this->solicitudCCTV = new ArrayCollection();
$this->precintoSolicitud = new ArrayCollection();
$this->precintoAsignado = new ArrayCollection();
$this->solicitudCompras = new ArrayCollection();
$this->ordenCompra = new ArrayCollection();
$this->mensajes = new ArrayCollection();
$this->reentrenamientos = new ArrayCollection();
$this->registrosOpain = new ArrayCollection();
$this->sistemasInformaticos = new ArrayCollection();
$this->gHReentrenamientoProcesos = new ArrayCollection();
}
public function __toString() {
return $this->getNombre();
}
public function getId(): ?int
{
return $this->id;
}
public function getNombre(): ?string
{
return $this->nombre;
}
public function setNombre(string $nombre): static
{
$this->nombre = $nombre;
return $this;
}
/**
* @return Collection<int, GHPerfilCargo>
*/
public function getIdPerfilCargo(): Collection
{
return $this->idPerfilCargo;
}
public function addIdPerfilCargo(GHPerfilCargo $idPerfilCargo): static
{
if (!$this->idPerfilCargo->contains($idPerfilCargo)) {
$this->idPerfilCargo->add($idPerfilCargo);
$idPerfilCargo->setParProceso($this);
}
return $this;
}
public function removeIdPerfilCargo(GHPerfilCargo $idPerfilCargo): static
{
if ($this->idPerfilCargo->removeElement($idPerfilCargo)) {
// set the owning side to null (unless already changed)
if ($idPerfilCargo->getParProceso() === $this) {
$idPerfilCargo->setParProceso(null);
}
}
return $this;
}
// /**
// * @return Collection<int, GHPerfilCargo>
// */
// public function getPerfilCargoRelaciones(): Collection
// {
// return $this->perfilCargoRelaciones;
// }
//
// public function addPerfilCargoRelacione(GHPerfilCargo $perfilCargoRelacione): static
// {
// if (!$this->perfilCargoRelaciones->contains($perfilCargoRelacione)) {
// $this->perfilCargoRelaciones->add($perfilCargoRelacione);
// $perfilCargoRelacione->addRelacionesInterna($this);
// }
//
// return $this;
// }
//
// public function removePerfilCargoRelacione(GHPerfilCargo $perfilCargoRelacione): static
// {
// if ($this->perfilCargoRelaciones->removeElement($perfilCargoRelacione)) {
// $perfilCargoRelacione->removeRelacionesInterna($this);
// }
//
// return $this;
// }
/**
* @return Collection<int, ParSubproceso>
*/
public function getSubproceso(): Collection
{
return $this->subproceso;
}
public function addSubproceso(ParSubproceso $subproceso): static
{
if (!$this->subproceso->contains($subproceso)) {
$this->subproceso->add($subproceso);
$subproceso->setProceso($this);
}
return $this;
}
public function removeSubproceso(ParSubproceso $subproceso): static
{
if ($this->subproceso->removeElement($subproceso)) {
// set the owning side to null (unless already changed)
if ($subproceso->getProceso() === $this) {
$subproceso->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHGrupoTrabajo>
*/
public function getGrupoTrabajo(): Collection
{
return $this->grupoTrabajo;
}
public function addGrupoTrabajo(GHGrupoTrabajo $grupoTrabajo): static
{
if (!$this->grupoTrabajo->contains($grupoTrabajo)) {
$this->grupoTrabajo->add($grupoTrabajo);
$grupoTrabajo->setProceso($this);
}
return $this;
}
public function removeGrupoTrabajo(GHGrupoTrabajo $grupoTrabajo): static
{
if ($this->grupoTrabajo->removeElement($grupoTrabajo)) {
// set the owning side to null (unless already changed)
if ($grupoTrabajo->getProceso() === $this) {
$grupoTrabajo->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHNovedadNomina>
*/
public function getNovedadNomina(): Collection
{
return $this->novedadNomina;
}
public function addNovedadNomina(GHNovedadNomina $novedadNomina): static
{
if (!$this->novedadNomina->contains($novedadNomina)) {
$this->novedadNomina->add($novedadNomina);
$novedadNomina->setProceso($this);
}
return $this;
}
public function removeNovedadNomina(GHNovedadNomina $novedadNomina): static
{
if ($this->novedadNomina->removeElement($novedadNomina)) {
// set the owning side to null (unless already changed)
if ($novedadNomina->getProceso() === $this) {
$novedadNomina->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, JurNorma>
*/
public function getNorma(): Collection
{
return $this->norma;
}
public function addNorma(JurNorma $norma): static
{
if (!$this->norma->contains($norma)) {
$this->norma->add($norma);
$norma->addProceso($this);
}
return $this;
}
public function removeNorma(JurNorma $norma): static
{
if ($this->norma->removeElement($norma)) {
$norma->removeProceso($this);
}
return $this;
}
/**
* @return Collection<int, ParMotivoJuridico>
*/
public function getMotivoJuridico(): Collection
{
return $this->motivoJuridico;
}
public function addMotivoJuridico(ParMotivoJuridico $motivoJuridico): static
{
if (!$this->motivoJuridico->contains($motivoJuridico)) {
$this->motivoJuridico->add($motivoJuridico);
$motivoJuridico->setProceso($this);
}
return $this;
}
public function removeMotivoJuridico(ParMotivoJuridico $motivoJuridico): static
{
if ($this->motivoJuridico->removeElement($motivoJuridico)) {
// set the owning side to null (unless already changed)
if ($motivoJuridico->getProceso() === $this) {
$motivoJuridico->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFSolicitudSuministro>
*/
public function getSolicitudSuministro(): Collection
{
return $this->solicitudSuministro;
}
public function addSolicitudSuministro(RFSolicitudSuministro $solicitudSuministro): static
{
if (!$this->solicitudSuministro->contains($solicitudSuministro)) {
$this->solicitudSuministro->add($solicitudSuministro);
$solicitudSuministro->setProceso($this);
}
return $this;
}
public function removeSolicitudSuministro(RFSolicitudSuministro $solicitudSuministro): static
{
if ($this->solicitudSuministro->removeElement($solicitudSuministro)) {
// set the owning side to null (unless already changed)
if ($solicitudSuministro->getProceso() === $this) {
$solicitudSuministro->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFTablaRetencion>
*/
public function getTablaRetencion(): Collection
{
return $this->tablaRetencion;
}
public function addTablaRetencion(RFTablaRetencion $tablaRetencion): static
{
if (!$this->tablaRetencion->contains($tablaRetencion)) {
$this->tablaRetencion->add($tablaRetencion);
$tablaRetencion->setProceso($this);
}
return $this;
}
public function removeTablaRetencion(RFTablaRetencion $tablaRetencion): static
{
if ($this->tablaRetencion->removeElement($tablaRetencion)) {
// set the owning side to null (unless already changed)
if ($tablaRetencion->getProceso() === $this) {
$tablaRetencion->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, DocDocumento>
*/
public function getDocumentos(): Collection
{
return $this->documentos;
}
public function addDocumento(DocDocumento $documento): static
{
if (!$this->documentos->contains($documento)) {
$this->documentos->add($documento);
}
return $this;
}
public function removeDocumento(DocDocumento $documento): static
{
$this->documentos->removeElement($documento);
return $this;
}
public function getCodigoRF(): ?string
{
return $this->codigoRF;
}
public function setCodigoRF(?string $codigoRF): static
{
$this->codigoRF = $codigoRF;
return $this;
}
/**
* @return Collection<int, RFInventarioDocumentalFinanzas>
*/
public function getInventarioDocumentalFinanzas(): Collection
{
return $this->inventarioDocumentalFinanzas;
}
public function addInventarioDocumentalFinanza(RFInventarioDocumentalFinanzas $inventarioDocumentalFinanza): static
{
if (!$this->inventarioDocumentalFinanzas->contains($inventarioDocumentalFinanza)) {
$this->inventarioDocumentalFinanzas->add($inventarioDocumentalFinanza);
$inventarioDocumentalFinanza->setProceso($this);
}
return $this;
}
public function removeInventarioDocumentalFinanza(RFInventarioDocumentalFinanzas $inventarioDocumentalFinanza): static
{
if ($this->inventarioDocumentalFinanzas->removeElement($inventarioDocumentalFinanza)) {
// set the owning side to null (unless already changed)
if ($inventarioDocumentalFinanza->getProceso() === $this) {
$inventarioDocumentalFinanza->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFFUID>
*/
public function getFUID(): Collection
{
return $this->FUID;
}
public function addFUID(RFFUID $fUID): static
{
if (!$this->FUID->contains($fUID)) {
$this->FUID->add($fUID);
$fUID->setProceso($this);
}
return $this;
}
public function removeFUID(RFFUID $fUID): static
{
if ($this->FUID->removeElement($fUID)) {
// set the owning side to null (unless already changed)
if ($fUID->getProceso() === $this) {
$fUID->setProceso(null);
}
}
return $this;
}
public function getFuenteDatosRFFUID(): ?string
{
return $this->fuenteDatosRFFUID;
}
public function setFuenteDatosRFFUID(?string $fuenteDatosRFFUID): static
{
$this->fuenteDatosRFFUID = $fuenteDatosRFFUID;
return $this;
}
/**
* @return Collection<int, RFCambioCustodiaDocumento>
*/
public function getCambioCustodiaDocumento(): Collection
{
return $this->cambioCustodiaDocumento;
}
public function addCambioCustodiaDocumento(RFCambioCustodiaDocumento $cambioCustodiaDocumento): static
{
if (!$this->cambioCustodiaDocumento->contains($cambioCustodiaDocumento)) {
$this->cambioCustodiaDocumento->add($cambioCustodiaDocumento);
$cambioCustodiaDocumento->setProceso($this);
}
return $this;
}
public function removeCambioCustodiaDocumento(RFCambioCustodiaDocumento $cambioCustodiaDocumento): static
{
if ($this->cambioCustodiaDocumento->removeElement($cambioCustodiaDocumento)) {
// set the owning side to null (unless already changed)
if ($cambioCustodiaDocumento->getProceso() === $this) {
$cambioCustodiaDocumento->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFDisposicion>
*/
public function getDisposicion(): Collection
{
return $this->disposicion;
}
public function addDisposicion(RFDisposicion $disposicion): static
{
if (!$this->disposicion->contains($disposicion)) {
$this->disposicion->add($disposicion);
$disposicion->setProceso($this);
}
return $this;
}
public function removeDisposicion(RFDisposicion $disposicion): static
{
if ($this->disposicion->removeElement($disposicion)) {
// set the owning side to null (unless already changed)
if ($disposicion->getProceso() === $this) {
$disposicion->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, ParCargo>
*/
public function getCargos(): Collection
{
return $this->cargos;
}
public function addCargo(ParCargo $cargo): static
{
if (!$this->cargos->contains($cargo)) {
$this->cargos->add($cargo);
}
return $this;
}
public function removeCargo(ParCargo $cargo): static
{
$this->cargos->removeElement($cargo);
return $this;
}
/**
* @return Collection<int, GHPerfilCargoRelaciones>
*/
public function getPerfilCargoRelacionesInternas(): Collection
{
return $this->perfilCargoRelacionesInternas;
}
public function addPerfilCargoRelacionesInterna(GHPerfilCargoRelaciones $perfilCargoRelacionesInterna): static
{
if (!$this->perfilCargoRelacionesInternas->contains($perfilCargoRelacionesInterna)) {
$this->perfilCargoRelacionesInternas->add($perfilCargoRelacionesInterna);
$perfilCargoRelacionesInterna->setRelacionInterna($this);
}
return $this;
}
public function removePerfilCargoRelacionesInterna(GHPerfilCargoRelaciones $perfilCargoRelacionesInterna): static
{
if ($this->perfilCargoRelacionesInternas->removeElement($perfilCargoRelacionesInterna)) {
// set the owning side to null (unless already changed)
if ($perfilCargoRelacionesInterna->getRelacionInterna() === $this) {
$perfilCargoRelacionesInterna->setRelacionInterna(null);
}
}
return $this;
}
/**
* @return Collection<int, ParRecursosPerfil>
*/
public function getRecursosPerfil(): Collection
{
return $this->recursosPerfil;
}
public function addRecursosPerfil(ParRecursosPerfil $recursosPerfil): static
{
if (!$this->recursosPerfil->contains($recursosPerfil)) {
$this->recursosPerfil->add($recursosPerfil);
$recursosPerfil->setProceso($this);
}
return $this;
}
public function removeRecursosPerfil(ParRecursosPerfil $recursosPerfil): static
{
if ($this->recursosPerfil->removeElement($recursosPerfil)) {
// set the owning side to null (unless already changed)
if ($recursosPerfil->getProceso() === $this) {
$recursosPerfil->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, ParTipoDotacion>
*/
public function getTipoDotacion(): Collection
{
return $this->tipoDotacion;
}
public function addTipoDotacion(ParTipoDotacion $tipoDotacion): static
{
if (!$this->tipoDotacion->contains($tipoDotacion)) {
$this->tipoDotacion->add($tipoDotacion);
$tipoDotacion->addProceso($this);
}
return $this;
}
public function removeTipoDotacion(ParTipoDotacion $tipoDotacion): static
{
if ($this->tipoDotacion->removeElement($tipoDotacion)) {
$tipoDotacion->removeProceso($this);
}
return $this;
}
/**
* @return Collection<int, ParInduccion>
*/
public function getInduccion(): Collection
{
return $this->induccion;
}
public function addInduccion(ParInduccion $induccion): static
{
if (!$this->induccion->contains($induccion)) {
$this->induccion->add($induccion);
$induccion->setProceso($this);
}
return $this;
}
public function removeInduccion(ParInduccion $induccion): static
{
if ($this->induccion->removeElement($induccion)) {
// set the owning side to null (unless already changed)
if ($induccion->getProceso() === $this) {
$induccion->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHInduccionProceso>
*/
public function getInduccionProcesos(): Collection
{
return $this->induccionProcesos;
}
public function addInduccionProceso(GHInduccionProceso $induccionProceso): static
{
if (!$this->induccionProcesos->contains($induccionProceso)) {
$this->induccionProcesos->add($induccionProceso);
$induccionProceso->setProceso($this);
}
return $this;
}
public function removeInduccionProceso(GHInduccionProceso $induccionProceso): static
{
if ($this->induccionProcesos->removeElement($induccionProceso)) {
// set the owning side to null (unless already changed)
if ($induccionProceso->getProceso() === $this) {
$induccionProceso->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHMatrizEntrenamientoProceso>
*/
public function getMatrizEntrenamientoProceso(): Collection
{
return $this->matrizEntrenamientoProceso;
}
public function addMatrizEntrenamientoProceso(GHMatrizEntrenamientoProceso $matrizEntrenamientoProceso): static
{
if (!$this->matrizEntrenamientoProceso->contains($matrizEntrenamientoProceso)) {
$this->matrizEntrenamientoProceso->add($matrizEntrenamientoProceso);
$matrizEntrenamientoProceso->setProceso($this);
}
return $this;
}
public function removeMatrizEntrenamientoProceso(GHMatrizEntrenamientoProceso $matrizEntrenamientoProceso): static
{
if ($this->matrizEntrenamientoProceso->removeElement($matrizEntrenamientoProceso)) {
// set the owning side to null (unless already changed)
if ($matrizEntrenamientoProceso->getProceso() === $this) {
$matrizEntrenamientoProceso->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHEntrenamientoProceso>
*/
public function getEntrenamientoProcesos(): Collection
{
return $this->entrenamientoProcesos;
}
public function addEntrenamientoProceso(GHEntrenamientoProceso $entrenamientoProceso): static
{
if (!$this->entrenamientoProcesos->contains($entrenamientoProceso)) {
$this->entrenamientoProcesos->add($entrenamientoProceso);
$entrenamientoProceso->setProceso($this);
}
return $this;
}
public function removeEntrenamientoProceso(GHEntrenamientoProceso $entrenamientoProceso): static
{
if ($this->entrenamientoProcesos->removeElement($entrenamientoProceso)) {
// set the owning side to null (unless already changed)
if ($entrenamientoProceso->getProceso() === $this) {
$entrenamientoProceso->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, SegControlIngreso>
*/
public function getControlIngreso(): Collection
{
return $this->controlIngreso;
}
public function addControlIngreso(SegControlIngreso $controlIngreso): static
{
if (!$this->controlIngreso->contains($controlIngreso)) {
$this->controlIngreso->add($controlIngreso);
$controlIngreso->setProceso($this);
}
return $this;
}
public function removeControlIngreso(SegControlIngreso $controlIngreso): static
{
if ($this->controlIngreso->removeElement($controlIngreso)) {
// set the owning side to null (unless already changed)
if ($controlIngreso->getProceso() === $this) {
$controlIngreso->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, SegSolicitudCCTV>
*/
public function getSolicitudCCTV(): Collection
{
return $this->solicitudCCTV;
}
public function addSolicitudCCTV(SegSolicitudCCTV $solicitudCCTV): static
{
if (!$this->solicitudCCTV->contains($solicitudCCTV)) {
$this->solicitudCCTV->add($solicitudCCTV);
$solicitudCCTV->setProceso($this);
}
return $this;
}
public function removeSolicitudCCTV(SegSolicitudCCTV $solicitudCCTV): static
{
if ($this->solicitudCCTV->removeElement($solicitudCCTV)) {
// set the owning side to null (unless already changed)
if ($solicitudCCTV->getProceso() === $this) {
$solicitudCCTV->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFPrecintoSolicitud>
*/
public function getPrecintoSolicitud(): Collection
{
return $this->precintoSolicitud;
}
public function addPrecintoSolicitud(RFPrecintoSolicitud $precintoSolicitud): static
{
if (!$this->precintoSolicitud->contains($precintoSolicitud)) {
$this->precintoSolicitud->add($precintoSolicitud);
$precintoSolicitud->setProceso($this);
}
return $this;
}
public function removePrecintoSolicitud(RFPrecintoSolicitud $precintoSolicitud): static
{
if ($this->precintoSolicitud->removeElement($precintoSolicitud)) {
// set the owning side to null (unless already changed)
if ($precintoSolicitud->getProceso() === $this) {
$precintoSolicitud->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFPrecintoAsignacion>
*/
public function getPrecintoAsignado(): Collection
{
return $this->precintoAsignado;
}
public function addPrecintoAsignado(RFPrecintoAsignacion $precintoAsignado): static
{
if (!$this->precintoAsignado->contains($precintoAsignado)) {
$this->precintoAsignado->add($precintoAsignado);
$precintoAsignado->setProceso($this);
}
return $this;
}
public function removePrecintoAsignado(RFPrecintoAsignacion $precintoAsignado): static
{
if ($this->precintoAsignado->removeElement($precintoAsignado)) {
// set the owning side to null (unless already changed)
if ($precintoAsignado->getProceso() === $this) {
$precintoAsignado->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFSolicitudCompra>
*/
public function getSolicitudCompras(): Collection
{
return $this->solicitudCompras;
}
public function addSolicitudCompra(RFSolicitudCompra $solicitudCompra): static
{
if (!$this->solicitudCompras->contains($solicitudCompra)) {
$this->solicitudCompras->add($solicitudCompra);
$solicitudCompra->setProceso($this);
}
return $this;
}
public function removeSolicitudCompra(RFSolicitudCompra $solicitudCompra): static
{
if ($this->solicitudCompras->removeElement($solicitudCompra)) {
// set the owning side to null (unless already changed)
if ($solicitudCompra->getProceso() === $this) {
$solicitudCompra->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, RFOrdenCompra>
*/
public function getOrdenCompra(): Collection
{
return $this->ordenCompra;
}
public function addOrdenCompra(RFOrdenCompra $ordenCompra): static
{
if (!$this->ordenCompra->contains($ordenCompra)) {
$this->ordenCompra->add($ordenCompra);
$ordenCompra->setProceso($this);
}
return $this;
}
public function removeOrdenCompra(RFOrdenCompra $ordenCompra): static
{
if ($this->ordenCompra->removeElement($ordenCompra)) {
// set the owning side to null (unless already changed)
if ($ordenCompra->getProceso() === $this) {
$ordenCompra->setProceso(null);
}
}
return $this;
}
public function isActivaTablaRetencion(): ?bool
{
return $this->activaTablaRetencion;
}
public function setActivaTablaRetencion(?bool $activaTablaRetencion): static
{
$this->activaTablaRetencion = $activaTablaRetencion;
return $this;
}
/**
* @return Collection<int, SecMensaje>
*/
public function getMensajes(): Collection
{
return $this->mensajes;
}
public function addMensaje(SecMensaje $mensaje): static
{
if (!$this->mensajes->contains($mensaje)) {
$this->mensajes->add($mensaje);
$mensaje->setProceso($this);
}
return $this;
}
public function removeMensaje(SecMensaje $mensaje): static
{
if ($this->mensajes->removeElement($mensaje)) {
// set the owning side to null (unless already changed)
if ($mensaje->getProceso() === $this) {
$mensaje->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHReentrenamiento>
*/
public function getReentrenamientos(): Collection
{
return $this->reentrenamientos;
}
public function addReentrenamiento(GHReentrenamiento $reentrenamiento): static
{
if (!$this->reentrenamientos->contains($reentrenamiento)) {
$this->reentrenamientos->add($reentrenamiento);
$reentrenamiento->setProceso($this);
}
return $this;
}
public function removeReentrenamiento(GHReentrenamiento $reentrenamiento): static
{
if ($this->reentrenamientos->removeElement($reentrenamiento)) {
// set the owning side to null (unless already changed)
if ($reentrenamiento->getProceso() === $this) {
$reentrenamiento->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, GHRegistroOpain>
*/
public function getRegistrosOpain(): Collection
{
return $this->registrosOpain;
}
public function addRegistrosOpain(GHRegistroOpain $registrosOpain): static
{
if (!$this->registrosOpain->contains($registrosOpain)) {
$this->registrosOpain->add($registrosOpain);
$registrosOpain->setProceso($this);
}
return $this;
}
public function removeRegistrosOpain(GHRegistroOpain $registrosOpain): static
{
if ($this->registrosOpain->removeElement($registrosOpain)) {
// set the owning side to null (unless already changed)
if ($registrosOpain->getProceso() === $this) {
$registrosOpain->setProceso(null);
}
}
return $this;
}
/**
* @return Collection<int, ParSistemaInformatico>
*/
public function getSistemasInformaticos(): Collection
{
return $this->sistemasInformaticos;
}
public function addSistemasInformatico(ParSistemaInformatico $sistemasInformatico): static
{
if (!$this->sistemasInformaticos->contains($sistemasInformatico)) {
$this->sistemasInformaticos->add($sistemasInformatico);
$sistemasInformatico->setProcesoResponsable($this);
}
return $this;
}
public function removeSistemasInformatico(ParSistemaInformatico $sistemasInformatico): static
{
if ($this->sistemasInformaticos->removeElement($sistemasInformatico)) {
// set the owning side to null (unless already changed)
if ($sistemasInformatico->getProcesoResponsable() === $this) {
$sistemasInformatico->setProcesoResponsable(null);
}
}
return $this;
}
/**
* @return Collection<int, GHReentrenamientoProceso>
*/
public function getGHReentrenamientoProcesos(): Collection
{
return $this->gHReentrenamientoProcesos;
}
public function addGHReentrenamientoProceso(GHReentrenamientoProceso $gHReentrenamientoProceso): static
{
if (!$this->gHReentrenamientoProcesos->contains($gHReentrenamientoProceso)) {
$this->gHReentrenamientoProcesos->add($gHReentrenamientoProceso);
$gHReentrenamientoProceso->setParProceso($this);
}
return $this;
}
public function removeGHReentrenamientoProceso(GHReentrenamientoProceso $gHReentrenamientoProceso): static
{
if ($this->gHReentrenamientoProcesos->removeElement($gHReentrenamientoProceso)) {
// set the owning side to null (unless already changed)
if ($gHReentrenamientoProceso->getParProceso() === $this) {
$gHReentrenamientoProceso->setParProceso(null);
}
}
return $this;
}
}