src/Entity/ParProceso.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ParProcesoRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassParProcesoRepository::class)]
  8. class ParProceso
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length100)]
  15.     private ?string $nombre null;
  16.     #[ORM\OneToMany(mappedBy'ParProceso'targetEntityGHPerfilCargo::class)]
  17.     private Collection $idPerfilCargo;
  18. //    #[ORM\ManyToMany(targetEntity: GHPerfilCargo::class, mappedBy: 'relacionesInternas')]
  19. //    private Collection $perfilCargoRelaciones;
  20.     #[ORM\OneToMany(mappedBy'proceso'targetEntityParSubproceso::class)]
  21.     private Collection $subproceso;
  22.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHGrupoTrabajo::class)]
  23.     private Collection $grupoTrabajo;
  24.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHNovedadNomina::class)]
  25.     private Collection $novedadNomina;
  26.     #[ORM\ManyToMany(targetEntityJurNorma::class, mappedBy'procesos')]
  27.     private Collection $norma;
  28.     #[ORM\OneToMany(mappedBy'proceso'targetEntityParMotivoJuridico::class)]
  29.     private Collection $motivoJuridico;
  30.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFSolicitudSuministro::class)]
  31.     private Collection $solicitudSuministro;
  32.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFTablaRetencion::class)]
  33.     private Collection $tablaRetencion;
  34.     #[ORM\ManyToMany(targetEntityDocDocumento::class, inversedBy'proceso')]
  35.     private Collection $documentos;
  36.     #[ORM\Column(length100nullabletrue)]
  37.     private ?string $codigoRF null;
  38.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFInventarioDocumentalFinanzas::class)]
  39.     private Collection $inventarioDocumentalFinanzas;
  40.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFFUID::class)]
  41.     private Collection $FUID;
  42.     #[ORM\Column(length255nullabletrue)]
  43.     private ?string $fuenteDatosRFFUID null;
  44.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFCambioCustodiaDocumento::class)]
  45.     private Collection $cambioCustodiaDocumento;
  46.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFDisposicion::class)]
  47.     private Collection $disposicion;
  48.     #[ORM\ManyToMany(targetEntityParCargo::class, inversedBy'procesos')]
  49.     private Collection $cargos;
  50.     #[ORM\OneToMany(mappedBy'relacionInterna'targetEntityGHPerfilCargoRelaciones::class)]
  51.     private Collection $perfilCargoRelacionesInternas;
  52.     #[ORM\OneToMany(mappedBy'proceso'targetEntityParRecursosPerfil::class)]
  53.     private Collection $recursosPerfil;
  54.     #[ORM\ManyToMany(targetEntityParTipoDotacion::class, mappedBy'procesos')]
  55.     private Collection $tipoDotacion;
  56.     #[ORM\OneToMany(mappedBy'proceso'targetEntityParInduccion::class)]
  57.     private Collection $induccion;
  58.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHInduccionProceso::class)]
  59.     private Collection $induccionProcesos;
  60.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHMatrizEntrenamientoProceso::class)]
  61.     private Collection $matrizEntrenamientoProceso;
  62.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHEntrenamientoProceso::class)]
  63.     private Collection $entrenamientoProcesos;
  64.     #[ORM\OneToMany(mappedBy'proceso'targetEntitySegControlIngreso::class)]
  65.     private Collection $controlIngreso;
  66.     #[ORM\OneToMany(mappedBy'proceso'targetEntitySegSolicitudCCTV::class)]
  67.     private Collection $solicitudCCTV;
  68.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFPrecintoSolicitud::class)]
  69.     private Collection $precintoSolicitud;
  70.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFPrecintoAsignacion::class)]
  71.     private Collection $precintoAsignado;
  72.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFSolicitudCompra::class)]
  73.     private Collection $solicitudCompras;
  74.     #[ORM\OneToMany(mappedBy'proceso'targetEntityRFOrdenCompra::class)]
  75.     private Collection $ordenCompra;
  76.     #[ORM\Column(nullabletrue)]
  77.     private ?bool $activaTablaRetencion null;
  78.     #[ORM\OneToMany(mappedBy'proceso'targetEntitySecMensaje::class)]
  79.     private Collection $mensajes;
  80.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHReentrenamiento::class)]
  81.     private Collection $reentrenamientos;
  82.     #[ORM\OneToMany(mappedBy'proceso'targetEntityGHRegistroOpain::class)]
  83.     private Collection $registrosOpain;
  84.     #[ORM\OneToMany(mappedBy'procesoResponsable'targetEntityParSistemaInformatico::class)]
  85.     private Collection $sistemasInformaticos;
  86.     #[ORM\OneToMany(mappedBy'parProceso'targetEntityGHReentrenamientoProceso::class)]
  87.     private Collection $gHReentrenamientoProcesos;
  88.     public function __construct()
  89.     {
  90.         $this->idPerfilCargo = new ArrayCollection();
  91.         $this->perfilCargoRelaciones = new ArrayCollection();
  92.         $this->subproceso = new ArrayCollection();
  93.         $this->grupoTrabajo = new ArrayCollection();
  94.         $this->novedadNomina = new ArrayCollection();
  95.         $this->norma = new ArrayCollection();
  96.         $this->motivoJuridico = new ArrayCollection();
  97.         $this->solicitudSuministro = new ArrayCollection();
  98.         $this->tablaRetencion = new ArrayCollection();
  99.         $this->documentos = new ArrayCollection();
  100.         $this->inventarioDocumentalFinanzas = new ArrayCollection();
  101.         $this->FUID = new ArrayCollection();
  102.         $this->cambioCustodiaDocumento = new ArrayCollection();
  103.         $this->disposicion = new ArrayCollection();
  104.         $this->cargos = new ArrayCollection();
  105. //        $this->perfilCargoRelacionesInternas = new ArrayCollection();
  106.         $this->recursosPerfil = new ArrayCollection();
  107.         $this->tipoDotacion = new ArrayCollection();
  108.         $this->induccion = new ArrayCollection();
  109.         $this->induccionProcesos = new ArrayCollection();
  110.         $this->matrizEntrenamientoProceso = new ArrayCollection();
  111.         $this->entrenamientoProcesos = new ArrayCollection();
  112.         $this->controlIngreso = new ArrayCollection();
  113.         $this->solicitudCCTV = new ArrayCollection();
  114.         $this->precintoSolicitud = new ArrayCollection();
  115.         $this->precintoAsignado = new ArrayCollection();
  116.         $this->solicitudCompras = new ArrayCollection();
  117.         $this->ordenCompra = new ArrayCollection();
  118.         $this->mensajes = new ArrayCollection();
  119.         $this->reentrenamientos = new ArrayCollection();
  120.         $this->registrosOpain = new ArrayCollection();
  121.         $this->sistemasInformaticos = new ArrayCollection();
  122.         $this->gHReentrenamientoProcesos = new ArrayCollection();
  123.    
  124.         
  125.     }
  126.     
  127.     public function __toString() {
  128.         return $this->getNombre();
  129.     }
  130.     public function getId(): ?int
  131.     {
  132.         return $this->id;
  133.     }
  134.     public function getNombre(): ?string
  135.     {
  136.         return $this->nombre;
  137.     }
  138.     public function setNombre(string $nombre): static
  139.     {
  140.         $this->nombre $nombre;
  141.         return $this;
  142.     }
  143.     /**
  144.      * @return Collection<int, GHPerfilCargo>
  145.      */
  146.     public function getIdPerfilCargo(): Collection
  147.     {
  148.         return $this->idPerfilCargo;
  149.     }
  150.     public function addIdPerfilCargo(GHPerfilCargo $idPerfilCargo): static
  151.     {
  152.         if (!$this->idPerfilCargo->contains($idPerfilCargo)) {
  153.             $this->idPerfilCargo->add($idPerfilCargo);
  154.             $idPerfilCargo->setParProceso($this);
  155.         }
  156.         return $this;
  157.     }
  158.     public function removeIdPerfilCargo(GHPerfilCargo $idPerfilCargo): static
  159.     {
  160.         if ($this->idPerfilCargo->removeElement($idPerfilCargo)) {
  161.             // set the owning side to null (unless already changed)
  162.             if ($idPerfilCargo->getParProceso() === $this) {
  163.                 $idPerfilCargo->setParProceso(null);
  164.             }
  165.         }
  166.         return $this;
  167.     }
  168. //    /**
  169. //     * @return Collection<int, GHPerfilCargo>
  170. //     */
  171. //    public function getPerfilCargoRelaciones(): Collection
  172. //    {
  173. //        return $this->perfilCargoRelaciones;
  174. //    }
  175. //
  176. //    public function addPerfilCargoRelacione(GHPerfilCargo $perfilCargoRelacione): static
  177. //    {
  178. //        if (!$this->perfilCargoRelaciones->contains($perfilCargoRelacione)) {
  179. //            $this->perfilCargoRelaciones->add($perfilCargoRelacione);
  180. //            $perfilCargoRelacione->addRelacionesInterna($this);
  181. //        }
  182. //
  183. //        return $this;
  184. //    }
  185. //
  186. //    public function removePerfilCargoRelacione(GHPerfilCargo $perfilCargoRelacione): static
  187. //    {
  188. //        if ($this->perfilCargoRelaciones->removeElement($perfilCargoRelacione)) {
  189. //            $perfilCargoRelacione->removeRelacionesInterna($this);
  190. //        }
  191. //
  192. //        return $this;
  193. //    }
  194.     /**
  195.      * @return Collection<int, ParSubproceso>
  196.      */
  197.     public function getSubproceso(): Collection
  198.     {
  199.         return $this->subproceso;
  200.     }
  201.     public function addSubproceso(ParSubproceso $subproceso): static
  202.     {
  203.         if (!$this->subproceso->contains($subproceso)) {
  204.             $this->subproceso->add($subproceso);
  205.             $subproceso->setProceso($this);
  206.         }
  207.         return $this;
  208.     }
  209.     public function removeSubproceso(ParSubproceso $subproceso): static
  210.     {
  211.         if ($this->subproceso->removeElement($subproceso)) {
  212.             // set the owning side to null (unless already changed)
  213.             if ($subproceso->getProceso() === $this) {
  214.                 $subproceso->setProceso(null);
  215.             }
  216.         }
  217.         return $this;
  218.     }
  219.     /**
  220.      * @return Collection<int, GHGrupoTrabajo>
  221.      */
  222.     public function getGrupoTrabajo(): Collection
  223.     {
  224.         return $this->grupoTrabajo;
  225.     }
  226.     public function addGrupoTrabajo(GHGrupoTrabajo $grupoTrabajo): static
  227.     {
  228.         if (!$this->grupoTrabajo->contains($grupoTrabajo)) {
  229.             $this->grupoTrabajo->add($grupoTrabajo);
  230.             $grupoTrabajo->setProceso($this);
  231.         }
  232.         return $this;
  233.     }
  234.     public function removeGrupoTrabajo(GHGrupoTrabajo $grupoTrabajo): static
  235.     {
  236.         if ($this->grupoTrabajo->removeElement($grupoTrabajo)) {
  237.             // set the owning side to null (unless already changed)
  238.             if ($grupoTrabajo->getProceso() === $this) {
  239.                 $grupoTrabajo->setProceso(null);
  240.             }
  241.         }
  242.         return $this;
  243.     }
  244.     /**
  245.      * @return Collection<int, GHNovedadNomina>
  246.      */
  247.     public function getNovedadNomina(): Collection
  248.     {
  249.         return $this->novedadNomina;
  250.     }
  251.     public function addNovedadNomina(GHNovedadNomina $novedadNomina): static
  252.     {
  253.         if (!$this->novedadNomina->contains($novedadNomina)) {
  254.             $this->novedadNomina->add($novedadNomina);
  255.             $novedadNomina->setProceso($this);
  256.         }
  257.         return $this;
  258.     }
  259.     public function removeNovedadNomina(GHNovedadNomina $novedadNomina): static
  260.     {
  261.         if ($this->novedadNomina->removeElement($novedadNomina)) {
  262.             // set the owning side to null (unless already changed)
  263.             if ($novedadNomina->getProceso() === $this) {
  264.                 $novedadNomina->setProceso(null);
  265.             }
  266.         }
  267.         return $this;
  268.     }
  269.     /**
  270.      * @return Collection<int, JurNorma>
  271.      */
  272.     public function getNorma(): Collection
  273.     {
  274.         return $this->norma;
  275.     }
  276.     public function addNorma(JurNorma $norma): static
  277.     {
  278.         if (!$this->norma->contains($norma)) {
  279.             $this->norma->add($norma);
  280.             $norma->addProceso($this);
  281.         }
  282.         return $this;
  283.     }
  284.     public function removeNorma(JurNorma $norma): static
  285.     {
  286.         if ($this->norma->removeElement($norma)) {
  287.             $norma->removeProceso($this);
  288.         }
  289.         return $this;
  290.     }
  291.     /**
  292.      * @return Collection<int, ParMotivoJuridico>
  293.      */
  294.     public function getMotivoJuridico(): Collection
  295.     {
  296.         return $this->motivoJuridico;
  297.     }
  298.     public function addMotivoJuridico(ParMotivoJuridico $motivoJuridico): static
  299.     {
  300.         if (!$this->motivoJuridico->contains($motivoJuridico)) {
  301.             $this->motivoJuridico->add($motivoJuridico);
  302.             $motivoJuridico->setProceso($this);
  303.         }
  304.         return $this;
  305.     }
  306.     public function removeMotivoJuridico(ParMotivoJuridico $motivoJuridico): static
  307.     {
  308.         if ($this->motivoJuridico->removeElement($motivoJuridico)) {
  309.             // set the owning side to null (unless already changed)
  310.             if ($motivoJuridico->getProceso() === $this) {
  311.                 $motivoJuridico->setProceso(null);
  312.             }
  313.         }
  314.         return $this;
  315.     }
  316.     /**
  317.      * @return Collection<int, RFSolicitudSuministro>
  318.      */
  319.     public function getSolicitudSuministro(): Collection
  320.     {
  321.         return $this->solicitudSuministro;
  322.     }
  323.     public function addSolicitudSuministro(RFSolicitudSuministro $solicitudSuministro): static
  324.     {
  325.         if (!$this->solicitudSuministro->contains($solicitudSuministro)) {
  326.             $this->solicitudSuministro->add($solicitudSuministro);
  327.             $solicitudSuministro->setProceso($this);
  328.         }
  329.         return $this;
  330.     }
  331.     public function removeSolicitudSuministro(RFSolicitudSuministro $solicitudSuministro): static
  332.     {
  333.         if ($this->solicitudSuministro->removeElement($solicitudSuministro)) {
  334.             // set the owning side to null (unless already changed)
  335.             if ($solicitudSuministro->getProceso() === $this) {
  336.                 $solicitudSuministro->setProceso(null);
  337.             }
  338.         }
  339.         return $this;
  340.     }
  341.     /**
  342.      * @return Collection<int, RFTablaRetencion>
  343.      */
  344.     public function getTablaRetencion(): Collection
  345.     {
  346.         return $this->tablaRetencion;
  347.     }
  348.     public function addTablaRetencion(RFTablaRetencion $tablaRetencion): static
  349.     {
  350.         if (!$this->tablaRetencion->contains($tablaRetencion)) {
  351.             $this->tablaRetencion->add($tablaRetencion);
  352.             $tablaRetencion->setProceso($this);
  353.         }
  354.         return $this;
  355.     }
  356.     public function removeTablaRetencion(RFTablaRetencion $tablaRetencion): static
  357.     {
  358.         if ($this->tablaRetencion->removeElement($tablaRetencion)) {
  359.             // set the owning side to null (unless already changed)
  360.             if ($tablaRetencion->getProceso() === $this) {
  361.                 $tablaRetencion->setProceso(null);
  362.             }
  363.         }
  364.         return $this;
  365.     }
  366.     /**
  367.      * @return Collection<int, DocDocumento>
  368.      */
  369.     public function getDocumentos(): Collection
  370.     {
  371.         return $this->documentos;
  372.     }
  373.     public function addDocumento(DocDocumento $documento): static
  374.     {
  375.         if (!$this->documentos->contains($documento)) {
  376.             $this->documentos->add($documento);
  377.         }
  378.         return $this;
  379.     }
  380.     public function removeDocumento(DocDocumento $documento): static
  381.     {
  382.         $this->documentos->removeElement($documento);
  383.         return $this;
  384.     }
  385.     public function getCodigoRF(): ?string
  386.     {
  387.         return $this->codigoRF;
  388.     }
  389.     public function setCodigoRF(?string $codigoRF): static
  390.     {
  391.         $this->codigoRF $codigoRF;
  392.         return $this;
  393.     }
  394.     /**
  395.      * @return Collection<int, RFInventarioDocumentalFinanzas>
  396.      */
  397.     public function getInventarioDocumentalFinanzas(): Collection
  398.     {
  399.         return $this->inventarioDocumentalFinanzas;
  400.     }
  401.     public function addInventarioDocumentalFinanza(RFInventarioDocumentalFinanzas $inventarioDocumentalFinanza): static
  402.     {
  403.         if (!$this->inventarioDocumentalFinanzas->contains($inventarioDocumentalFinanza)) {
  404.             $this->inventarioDocumentalFinanzas->add($inventarioDocumentalFinanza);
  405.             $inventarioDocumentalFinanza->setProceso($this);
  406.         }
  407.         return $this;
  408.     }
  409.     public function removeInventarioDocumentalFinanza(RFInventarioDocumentalFinanzas $inventarioDocumentalFinanza): static
  410.     {
  411.         if ($this->inventarioDocumentalFinanzas->removeElement($inventarioDocumentalFinanza)) {
  412.             // set the owning side to null (unless already changed)
  413.             if ($inventarioDocumentalFinanza->getProceso() === $this) {
  414.                 $inventarioDocumentalFinanza->setProceso(null);
  415.             }
  416.         }
  417.         return $this;
  418.     }
  419.     /**
  420.      * @return Collection<int, RFFUID>
  421.      */
  422.     public function getFUID(): Collection
  423.     {
  424.         return $this->FUID;
  425.     }
  426.     public function addFUID(RFFUID $fUID): static
  427.     {
  428.         if (!$this->FUID->contains($fUID)) {
  429.             $this->FUID->add($fUID);
  430.             $fUID->setProceso($this);
  431.         }
  432.         return $this;
  433.     }
  434.     public function removeFUID(RFFUID $fUID): static
  435.     {
  436.         if ($this->FUID->removeElement($fUID)) {
  437.             // set the owning side to null (unless already changed)
  438.             if ($fUID->getProceso() === $this) {
  439.                 $fUID->setProceso(null);
  440.             }
  441.         }
  442.         return $this;
  443.     }
  444.     public function getFuenteDatosRFFUID(): ?string
  445.     {
  446.         return $this->fuenteDatosRFFUID;
  447.     }
  448.     public function setFuenteDatosRFFUID(?string $fuenteDatosRFFUID): static
  449.     {
  450.         $this->fuenteDatosRFFUID $fuenteDatosRFFUID;
  451.         return $this;
  452.     }
  453.     /**
  454.      * @return Collection<int, RFCambioCustodiaDocumento>
  455.      */
  456.     public function getCambioCustodiaDocumento(): Collection
  457.     {
  458.         return $this->cambioCustodiaDocumento;
  459.     }
  460.     public function addCambioCustodiaDocumento(RFCambioCustodiaDocumento $cambioCustodiaDocumento): static
  461.     {
  462.         if (!$this->cambioCustodiaDocumento->contains($cambioCustodiaDocumento)) {
  463.             $this->cambioCustodiaDocumento->add($cambioCustodiaDocumento);
  464.             $cambioCustodiaDocumento->setProceso($this);
  465.         }
  466.         return $this;
  467.     }
  468.     public function removeCambioCustodiaDocumento(RFCambioCustodiaDocumento $cambioCustodiaDocumento): static
  469.     {
  470.         if ($this->cambioCustodiaDocumento->removeElement($cambioCustodiaDocumento)) {
  471.             // set the owning side to null (unless already changed)
  472.             if ($cambioCustodiaDocumento->getProceso() === $this) {
  473.                 $cambioCustodiaDocumento->setProceso(null);
  474.             }
  475.         }
  476.         return $this;
  477.     }
  478.     /**
  479.      * @return Collection<int, RFDisposicion>
  480.      */
  481.     public function getDisposicion(): Collection
  482.     {
  483.         return $this->disposicion;
  484.     }
  485.     public function addDisposicion(RFDisposicion $disposicion): static
  486.     {
  487.         if (!$this->disposicion->contains($disposicion)) {
  488.             $this->disposicion->add($disposicion);
  489.             $disposicion->setProceso($this);
  490.         }
  491.         return $this;
  492.     }
  493.     public function removeDisposicion(RFDisposicion $disposicion): static
  494.     {
  495.         if ($this->disposicion->removeElement($disposicion)) {
  496.             // set the owning side to null (unless already changed)
  497.             if ($disposicion->getProceso() === $this) {
  498.                 $disposicion->setProceso(null);
  499.             }
  500.         }
  501.         return $this;
  502.     }
  503.     /**
  504.      * @return Collection<int, ParCargo>
  505.      */
  506.     public function getCargos(): Collection
  507.     {
  508.         return $this->cargos;
  509.     }
  510.     public function addCargo(ParCargo $cargo): static
  511.     {
  512.         if (!$this->cargos->contains($cargo)) {
  513.             $this->cargos->add($cargo);
  514.         }
  515.         return $this;
  516.     }
  517.     public function removeCargo(ParCargo $cargo): static
  518.     {
  519.         $this->cargos->removeElement($cargo);
  520.         return $this;
  521.     }
  522.     /**
  523.      * @return Collection<int, GHPerfilCargoRelaciones>
  524.      */
  525.     public function getPerfilCargoRelacionesInternas(): Collection
  526.     {
  527.         return $this->perfilCargoRelacionesInternas;
  528.     }
  529.     public function addPerfilCargoRelacionesInterna(GHPerfilCargoRelaciones $perfilCargoRelacionesInterna): static
  530.     {
  531.         if (!$this->perfilCargoRelacionesInternas->contains($perfilCargoRelacionesInterna)) {
  532.             $this->perfilCargoRelacionesInternas->add($perfilCargoRelacionesInterna);
  533.             $perfilCargoRelacionesInterna->setRelacionInterna($this);
  534.         }
  535.         return $this;
  536.     }
  537.     public function removePerfilCargoRelacionesInterna(GHPerfilCargoRelaciones $perfilCargoRelacionesInterna): static
  538.     {
  539.         if ($this->perfilCargoRelacionesInternas->removeElement($perfilCargoRelacionesInterna)) {
  540.             // set the owning side to null (unless already changed)
  541.             if ($perfilCargoRelacionesInterna->getRelacionInterna() === $this) {
  542.                 $perfilCargoRelacionesInterna->setRelacionInterna(null);
  543.             }
  544.         }
  545.         return $this;
  546.     }
  547.     /**
  548.      * @return Collection<int, ParRecursosPerfil>
  549.      */
  550.     public function getRecursosPerfil(): Collection
  551.     {
  552.         return $this->recursosPerfil;
  553.     }
  554.     public function addRecursosPerfil(ParRecursosPerfil $recursosPerfil): static
  555.     {
  556.         if (!$this->recursosPerfil->contains($recursosPerfil)) {
  557.             $this->recursosPerfil->add($recursosPerfil);
  558.             $recursosPerfil->setProceso($this);
  559.         }
  560.         return $this;
  561.     }
  562.     public function removeRecursosPerfil(ParRecursosPerfil $recursosPerfil): static
  563.     {
  564.         if ($this->recursosPerfil->removeElement($recursosPerfil)) {
  565.             // set the owning side to null (unless already changed)
  566.             if ($recursosPerfil->getProceso() === $this) {
  567.                 $recursosPerfil->setProceso(null);
  568.             }
  569.         }
  570.         return $this;
  571.     }
  572.     /**
  573.      * @return Collection<int, ParTipoDotacion>
  574.      */
  575.     public function getTipoDotacion(): Collection
  576.     {
  577.         return $this->tipoDotacion;
  578.     }
  579.     public function addTipoDotacion(ParTipoDotacion $tipoDotacion): static
  580.     {
  581.         if (!$this->tipoDotacion->contains($tipoDotacion)) {
  582.             $this->tipoDotacion->add($tipoDotacion);
  583.             $tipoDotacion->addProceso($this);
  584.         }
  585.         return $this;
  586.     }
  587.     public function removeTipoDotacion(ParTipoDotacion $tipoDotacion): static
  588.     {
  589.         if ($this->tipoDotacion->removeElement($tipoDotacion)) {
  590.             $tipoDotacion->removeProceso($this);
  591.         }
  592.         return $this;
  593.     }
  594.     /**
  595.      * @return Collection<int, ParInduccion>
  596.      */
  597.     public function getInduccion(): Collection
  598.     {
  599.         return $this->induccion;
  600.     }
  601.     public function addInduccion(ParInduccion $induccion): static
  602.     {
  603.         if (!$this->induccion->contains($induccion)) {
  604.             $this->induccion->add($induccion);
  605.             $induccion->setProceso($this);
  606.         }
  607.         return $this;
  608.     }
  609.     public function removeInduccion(ParInduccion $induccion): static
  610.     {
  611.         if ($this->induccion->removeElement($induccion)) {
  612.             // set the owning side to null (unless already changed)
  613.             if ($induccion->getProceso() === $this) {
  614.                 $induccion->setProceso(null);
  615.             }
  616.         }
  617.         return $this;
  618.     }
  619.     /**
  620.      * @return Collection<int, GHInduccionProceso>
  621.      */
  622.     public function getInduccionProcesos(): Collection
  623.     {
  624.         return $this->induccionProcesos;
  625.     }
  626.     public function addInduccionProceso(GHInduccionProceso $induccionProceso): static
  627.     {
  628.         if (!$this->induccionProcesos->contains($induccionProceso)) {
  629.             $this->induccionProcesos->add($induccionProceso);
  630.             $induccionProceso->setProceso($this);
  631.         }
  632.         return $this;
  633.     }
  634.     public function removeInduccionProceso(GHInduccionProceso $induccionProceso): static
  635.     {
  636.         if ($this->induccionProcesos->removeElement($induccionProceso)) {
  637.             // set the owning side to null (unless already changed)
  638.             if ($induccionProceso->getProceso() === $this) {
  639.                 $induccionProceso->setProceso(null);
  640.             }
  641.         }
  642.         return $this;
  643.     }
  644.     /**
  645.      * @return Collection<int, GHMatrizEntrenamientoProceso>
  646.      */
  647.     public function getMatrizEntrenamientoProceso(): Collection
  648.     {
  649.         return $this->matrizEntrenamientoProceso;
  650.     }
  651.     public function addMatrizEntrenamientoProceso(GHMatrizEntrenamientoProceso $matrizEntrenamientoProceso): static
  652.     {
  653.         if (!$this->matrizEntrenamientoProceso->contains($matrizEntrenamientoProceso)) {
  654.             $this->matrizEntrenamientoProceso->add($matrizEntrenamientoProceso);
  655.             $matrizEntrenamientoProceso->setProceso($this);
  656.         }
  657.         return $this;
  658.     }
  659.     public function removeMatrizEntrenamientoProceso(GHMatrizEntrenamientoProceso $matrizEntrenamientoProceso): static
  660.     {
  661.         if ($this->matrizEntrenamientoProceso->removeElement($matrizEntrenamientoProceso)) {
  662.             // set the owning side to null (unless already changed)
  663.             if ($matrizEntrenamientoProceso->getProceso() === $this) {
  664.                 $matrizEntrenamientoProceso->setProceso(null);
  665.             }
  666.         }
  667.         return $this;
  668.     }
  669.     /**
  670.      * @return Collection<int, GHEntrenamientoProceso>
  671.      */
  672.     public function getEntrenamientoProcesos(): Collection
  673.     {
  674.         return $this->entrenamientoProcesos;
  675.     }
  676.     public function addEntrenamientoProceso(GHEntrenamientoProceso $entrenamientoProceso): static
  677.     {
  678.         if (!$this->entrenamientoProcesos->contains($entrenamientoProceso)) {
  679.             $this->entrenamientoProcesos->add($entrenamientoProceso);
  680.             $entrenamientoProceso->setProceso($this);
  681.         }
  682.         return $this;
  683.     }
  684.     public function removeEntrenamientoProceso(GHEntrenamientoProceso $entrenamientoProceso): static
  685.     {
  686.         if ($this->entrenamientoProcesos->removeElement($entrenamientoProceso)) {
  687.             // set the owning side to null (unless already changed)
  688.             if ($entrenamientoProceso->getProceso() === $this) {
  689.                 $entrenamientoProceso->setProceso(null);
  690.             }
  691.         }
  692.         return $this;
  693.     }
  694.     /**
  695.      * @return Collection<int, SegControlIngreso>
  696.      */
  697.     public function getControlIngreso(): Collection
  698.     {
  699.         return $this->controlIngreso;
  700.     }
  701.     public function addControlIngreso(SegControlIngreso $controlIngreso): static
  702.     {
  703.         if (!$this->controlIngreso->contains($controlIngreso)) {
  704.             $this->controlIngreso->add($controlIngreso);
  705.             $controlIngreso->setProceso($this);
  706.         }
  707.         return $this;
  708.     }
  709.     public function removeControlIngreso(SegControlIngreso $controlIngreso): static
  710.     {
  711.         if ($this->controlIngreso->removeElement($controlIngreso)) {
  712.             // set the owning side to null (unless already changed)
  713.             if ($controlIngreso->getProceso() === $this) {
  714.                 $controlIngreso->setProceso(null);
  715.             }
  716.         }
  717.         return $this;
  718.     }
  719.     /**
  720.      * @return Collection<int, SegSolicitudCCTV>
  721.      */
  722.     public function getSolicitudCCTV(): Collection
  723.     {
  724.         return $this->solicitudCCTV;
  725.     }
  726.     public function addSolicitudCCTV(SegSolicitudCCTV $solicitudCCTV): static
  727.     {
  728.         if (!$this->solicitudCCTV->contains($solicitudCCTV)) {
  729.             $this->solicitudCCTV->add($solicitudCCTV);
  730.             $solicitudCCTV->setProceso($this);
  731.         }
  732.         return $this;
  733.     }
  734.     public function removeSolicitudCCTV(SegSolicitudCCTV $solicitudCCTV): static
  735.     {
  736.         if ($this->solicitudCCTV->removeElement($solicitudCCTV)) {
  737.             // set the owning side to null (unless already changed)
  738.             if ($solicitudCCTV->getProceso() === $this) {
  739.                 $solicitudCCTV->setProceso(null);
  740.             }
  741.         }
  742.         return $this;
  743.     }
  744.     /**
  745.      * @return Collection<int, RFPrecintoSolicitud>
  746.      */
  747.     public function getPrecintoSolicitud(): Collection
  748.     {
  749.         return $this->precintoSolicitud;
  750.     }
  751.     public function addPrecintoSolicitud(RFPrecintoSolicitud $precintoSolicitud): static
  752.     {
  753.         if (!$this->precintoSolicitud->contains($precintoSolicitud)) {
  754.             $this->precintoSolicitud->add($precintoSolicitud);
  755.             $precintoSolicitud->setProceso($this);
  756.         }
  757.         return $this;
  758.     }
  759.     public function removePrecintoSolicitud(RFPrecintoSolicitud $precintoSolicitud): static
  760.     {
  761.         if ($this->precintoSolicitud->removeElement($precintoSolicitud)) {
  762.             // set the owning side to null (unless already changed)
  763.             if ($precintoSolicitud->getProceso() === $this) {
  764.                 $precintoSolicitud->setProceso(null);
  765.             }
  766.         }
  767.         return $this;
  768.     }
  769.     /**
  770.      * @return Collection<int, RFPrecintoAsignacion>
  771.      */
  772.     public function getPrecintoAsignado(): Collection
  773.     {
  774.         return $this->precintoAsignado;
  775.     }
  776.     public function addPrecintoAsignado(RFPrecintoAsignacion $precintoAsignado): static
  777.     {
  778.         if (!$this->precintoAsignado->contains($precintoAsignado)) {
  779.             $this->precintoAsignado->add($precintoAsignado);
  780.             $precintoAsignado->setProceso($this);
  781.         }
  782.         return $this;
  783.     }
  784.     public function removePrecintoAsignado(RFPrecintoAsignacion $precintoAsignado): static
  785.     {
  786.         if ($this->precintoAsignado->removeElement($precintoAsignado)) {
  787.             // set the owning side to null (unless already changed)
  788.             if ($precintoAsignado->getProceso() === $this) {
  789.                 $precintoAsignado->setProceso(null);
  790.             }
  791.         }
  792.         return $this;
  793.     }
  794.     /**
  795.      * @return Collection<int, RFSolicitudCompra>
  796.      */
  797.     public function getSolicitudCompras(): Collection
  798.     {
  799.         return $this->solicitudCompras;
  800.     }
  801.     public function addSolicitudCompra(RFSolicitudCompra $solicitudCompra): static
  802.     {
  803.         if (!$this->solicitudCompras->contains($solicitudCompra)) {
  804.             $this->solicitudCompras->add($solicitudCompra);
  805.             $solicitudCompra->setProceso($this);
  806.         }
  807.         return $this;
  808.     }
  809.     public function removeSolicitudCompra(RFSolicitudCompra $solicitudCompra): static
  810.     {
  811.         if ($this->solicitudCompras->removeElement($solicitudCompra)) {
  812.             // set the owning side to null (unless already changed)
  813.             if ($solicitudCompra->getProceso() === $this) {
  814.                 $solicitudCompra->setProceso(null);
  815.             }
  816.         }
  817.         return $this;
  818.     }
  819.     /**
  820.      * @return Collection<int, RFOrdenCompra>
  821.      */
  822.     public function getOrdenCompra(): Collection
  823.     {
  824.         return $this->ordenCompra;
  825.     }
  826.     public function addOrdenCompra(RFOrdenCompra $ordenCompra): static
  827.     {
  828.         if (!$this->ordenCompra->contains($ordenCompra)) {
  829.             $this->ordenCompra->add($ordenCompra);
  830.             $ordenCompra->setProceso($this);
  831.         }
  832.         return $this;
  833.     }
  834.     public function removeOrdenCompra(RFOrdenCompra $ordenCompra): static
  835.     {
  836.         if ($this->ordenCompra->removeElement($ordenCompra)) {
  837.             // set the owning side to null (unless already changed)
  838.             if ($ordenCompra->getProceso() === $this) {
  839.                 $ordenCompra->setProceso(null);
  840.             }
  841.         }
  842.         return $this;
  843.     }
  844.     public function isActivaTablaRetencion(): ?bool
  845.     {
  846.         return $this->activaTablaRetencion;
  847.     }
  848.     public function setActivaTablaRetencion(?bool $activaTablaRetencion): static
  849.     {
  850.         $this->activaTablaRetencion $activaTablaRetencion;
  851.         return $this;
  852.     }
  853.     /**
  854.      * @return Collection<int, SecMensaje>
  855.      */
  856.     public function getMensajes(): Collection
  857.     {
  858.         return $this->mensajes;
  859.     }
  860.     public function addMensaje(SecMensaje $mensaje): static
  861.     {
  862.         if (!$this->mensajes->contains($mensaje)) {
  863.             $this->mensajes->add($mensaje);
  864.             $mensaje->setProceso($this);
  865.         }
  866.         return $this;
  867.     }
  868.     public function removeMensaje(SecMensaje $mensaje): static
  869.     {
  870.         if ($this->mensajes->removeElement($mensaje)) {
  871.             // set the owning side to null (unless already changed)
  872.             if ($mensaje->getProceso() === $this) {
  873.                 $mensaje->setProceso(null);
  874.             }
  875.         }
  876.         return $this;
  877.     }
  878.     /**
  879.      * @return Collection<int, GHReentrenamiento>
  880.      */
  881.     public function getReentrenamientos(): Collection
  882.     {
  883.         return $this->reentrenamientos;
  884.     }
  885.     public function addReentrenamiento(GHReentrenamiento $reentrenamiento): static
  886.     {
  887.         if (!$this->reentrenamientos->contains($reentrenamiento)) {
  888.             $this->reentrenamientos->add($reentrenamiento);
  889.             $reentrenamiento->setProceso($this);
  890.         }
  891.         return $this;
  892.     }
  893.     public function removeReentrenamiento(GHReentrenamiento $reentrenamiento): static
  894.     {
  895.         if ($this->reentrenamientos->removeElement($reentrenamiento)) {
  896.             // set the owning side to null (unless already changed)
  897.             if ($reentrenamiento->getProceso() === $this) {
  898.                 $reentrenamiento->setProceso(null);
  899.             }
  900.         }
  901.         return $this;
  902.     }
  903.     /**
  904.      * @return Collection<int, GHRegistroOpain>
  905.      */
  906.     public function getRegistrosOpain(): Collection
  907.     {
  908.         return $this->registrosOpain;
  909.     }
  910.     public function addRegistrosOpain(GHRegistroOpain $registrosOpain): static
  911.     {
  912.         if (!$this->registrosOpain->contains($registrosOpain)) {
  913.             $this->registrosOpain->add($registrosOpain);
  914.             $registrosOpain->setProceso($this);
  915.         }
  916.         return $this;
  917.     }
  918.     public function removeRegistrosOpain(GHRegistroOpain $registrosOpain): static
  919.     {
  920.         if ($this->registrosOpain->removeElement($registrosOpain)) {
  921.             // set the owning side to null (unless already changed)
  922.             if ($registrosOpain->getProceso() === $this) {
  923.                 $registrosOpain->setProceso(null);
  924.             }
  925.         }
  926.         return $this;
  927.     }
  928.     /**
  929.      * @return Collection<int, ParSistemaInformatico>
  930.      */
  931.     public function getSistemasInformaticos(): Collection
  932.     {
  933.         return $this->sistemasInformaticos;
  934.     }
  935.     public function addSistemasInformatico(ParSistemaInformatico $sistemasInformatico): static
  936.     {
  937.         if (!$this->sistemasInformaticos->contains($sistemasInformatico)) {
  938.             $this->sistemasInformaticos->add($sistemasInformatico);
  939.             $sistemasInformatico->setProcesoResponsable($this);
  940.         }
  941.         return $this;
  942.     }
  943.     public function removeSistemasInformatico(ParSistemaInformatico $sistemasInformatico): static
  944.     {
  945.         if ($this->sistemasInformaticos->removeElement($sistemasInformatico)) {
  946.             // set the owning side to null (unless already changed)
  947.             if ($sistemasInformatico->getProcesoResponsable() === $this) {
  948.                 $sistemasInformatico->setProcesoResponsable(null);
  949.             }
  950.         }
  951.         return $this;
  952.     }
  953.     /**
  954.      * @return Collection<int, GHReentrenamientoProceso>
  955.      */
  956.     public function getGHReentrenamientoProcesos(): Collection
  957.     {
  958.         return $this->gHReentrenamientoProcesos;
  959.     }
  960.     public function addGHReentrenamientoProceso(GHReentrenamientoProceso $gHReentrenamientoProceso): static
  961.     {
  962.         if (!$this->gHReentrenamientoProcesos->contains($gHReentrenamientoProceso)) {
  963.             $this->gHReentrenamientoProcesos->add($gHReentrenamientoProceso);
  964.             $gHReentrenamientoProceso->setParProceso($this);
  965.         }
  966.         return $this;
  967.     }
  968.     public function removeGHReentrenamientoProceso(GHReentrenamientoProceso $gHReentrenamientoProceso): static
  969.     {
  970.         if ($this->gHReentrenamientoProcesos->removeElement($gHReentrenamientoProceso)) {
  971.             // set the owning side to null (unless already changed)
  972.             if ($gHReentrenamientoProceso->getParProceso() === $this) {
  973.                 $gHReentrenamientoProceso->setParProceso(null);
  974.             }
  975.         }
  976.         return $this;
  977.     }
  978.     
  979. }