src/Entity/ComHojaVida.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComHojaVidaRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Entity(repositoryClassComHojaVidaRepository::class)]
  9. class ComHojaVida
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  16.     private ?\DateTimeInterface $fechaCreacion null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  18.     private ?\DateTimeInterface $fechaActualizacion null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?bool $notificarCambio null;
  21.     #[ORM\ManyToMany(targetEntityTerPersona::class, inversedBy'comHojaVidas')]
  22.     private Collection $usuariosNotificar;
  23.     #[ORM\ManyToOne(inversedBy'comHojaVidas')]
  24.     private ?TerEmpresaCliente $terEmpresaCliente null;
  25.     #[ORM\ManyToMany(targetEntityComInformacionContacto::class, inversedBy'comHojaVidas')]
  26.     private Collection $comInformacionContacto;
  27.     #[ORM\ManyToOne(inversedBy'comHojaVidas')]
  28.     private ?ComOfertaComercial $comOfertaComercial null;
  29.     #[ORM\ManyToOne(inversedBy'comHojaVidas')]
  30.     private ?ComCreacionCliente $comCreacionCliente null;
  31.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComOperadoresComercioExterior::class)]
  32.     private Collection $comOperadoresComercioExteriors;
  33.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComProductosImportadosExportados::class)]
  34.     private Collection $comProductosImportadosExportados;
  35.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  36.     private ?\DateTimeInterface $createAt null;
  37.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  38.     private ?\DateTimeInterface $updateAt null;
  39.     #[ORM\Column(length255nullabletrue)]
  40.     private ?string $createUser null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $updateUser null;
  43.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComTiempoServiciosANS::class)]
  44.     private Collection $comTiempoServiciosANS;
  45.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComCondicionesOperacion::class)]
  46.     private Collection $comCondicionesOperacions;
  47.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComCondicionesOperacionImpo::class)]
  48.     private Collection $comCondicionesOperacionImpos;
  49.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComCondicionesOperacionExpo::class)]
  50.     private Collection $comCondicionesOperacionExpos;
  51.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComCondicionesOperacionInspeccion::class)]
  52.     private Collection $comCondicionesOperacionInspeccions;
  53.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComCondicionesOperacionBodega::class)]
  54.     private Collection $comCondicionesOperacionBodegas;
  55.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComPagoDeclaraciones::class)]
  56.     private Collection $comPagoDeclaraciones;
  57.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComPagoTerceros::class)]
  58.     private Collection $comPagoTerceros;
  59.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComAcuerdosCupoFondoAnticipo::class)]
  60.     private Collection $comAcuerdosCupoFondoAnticipos;
  61.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComConsolidadoCupoFondoAnticipo::class)]
  62.     private Collection $comConsolidadoCupoFondoAnticipos;
  63.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComFacturacionEmpresa::class)]
  64.     private Collection $comFacturacionEmpresas;
  65.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComIndicadores::class)]
  66.     private Collection $comIndicadores;
  67.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComEstatusOperacion::class)]
  68.     private Collection $comEstatusOperacions;
  69.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComResultadoEncuestaSatisfaccion::class)]
  70.     private Collection $comResultadoEncuestaSatisfaccions;
  71.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComComisionesTerceros::class)]
  72.     private Collection $comComisionesTerceros;
  73.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComDocumentosSoporte::class)]
  74.     private Collection $comDocumentosSoportes;
  75.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComInformacionAdicional::class)]
  76.     private Collection $comInformacionAdicionals;
  77.     #[ORM\ManyToOne(inversedBy'comHojaVidas')]
  78.     private ?ParEstado $estadoCliente null;
  79.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComIdentificacionCliente::class)]
  80.     private Collection $comIdentificacionClientes;
  81.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComMatrizContactosHojaVida::class)]
  82.     private Collection $comMatrizContactosHojaVidas;
  83.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComServiciosContratados::class)]
  84.     private Collection $comServiciosContratados;
  85.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComPoderNaviera::class)]
  86.     private Collection $comPoderNavieras;
  87.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComPromesaPago::class)]
  88.     private Collection $comPromesaPagos;
  89.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComDocumentosAdicionales::class)]
  90.     private Collection $comDocumentosAdicionales;
  91.     #[ORM\OneToMany(mappedBy'comHojaVida'targetEntityComHistoricoHojaVida::class)]
  92.     private Collection $comHistoricoHojaVidas;
  93.     public function __construct()
  94.     {
  95.         $this->usuariosNotificar = new ArrayCollection();
  96.         $this->comInformacionContacto = new ArrayCollection();
  97.         $this->comOperadoresComercioExteriors = new ArrayCollection();
  98.         $this->comProductosImportadosExportados = new ArrayCollection();
  99.         $this->comTiempoServiciosANS = new ArrayCollection();
  100.         $this->comCondicionesOperacions = new ArrayCollection();
  101.         $this->comCondicionesOperacionImpos = new ArrayCollection();
  102.         $this->comCondicionesOperacionExpos = new ArrayCollection();
  103.         $this->comCondicionesOperacionInspeccions = new ArrayCollection();
  104.         $this->comCondicionesOperacionBodegas = new ArrayCollection();
  105.         $this->comPagoDeclaraciones = new ArrayCollection();
  106.         $this->comPagoTerceros = new ArrayCollection();
  107.         $this->comAcuerdosCupoFondoAnticipos = new ArrayCollection();
  108.         $this->comConsolidadoCupoFondoAnticipos = new ArrayCollection();
  109.         $this->comFacturacionEmpresas = new ArrayCollection();
  110.         $this->comIndicadores = new ArrayCollection();
  111.         $this->comEstatusOperacions = new ArrayCollection();
  112.         $this->comResultadoEncuestaSatisfaccions = new ArrayCollection();
  113.         $this->comComisionesTerceros = new ArrayCollection();
  114.         $this->comDocumentosSoportes = new ArrayCollection();
  115.         $this->comInformacionAdicionals = new ArrayCollection();
  116.         $this->comIdentificacionClientes = new ArrayCollection();
  117.         $this->comMatrizContactosHojaVidas = new ArrayCollection();
  118.         $this->comServiciosContratados = new ArrayCollection();
  119.         $this->comPoderNavieras = new ArrayCollection();
  120.         $this->comPromesaPagos = new ArrayCollection();
  121.         $this->comDocumentosAdicionales = new ArrayCollection();
  122.         $this->comHistoricoHojaVidas = new ArrayCollection();
  123.     }
  124.     public function getId(): ?int
  125.     {
  126.         return $this->id;
  127.     }
  128.     public function getFechaCreacion(): ?\DateTimeInterface
  129.     {
  130.         return $this->fechaCreacion;
  131.     }
  132.     public function setFechaCreacion(\DateTimeInterface $fechaCreacion): static
  133.     {
  134.         $this->fechaCreacion $fechaCreacion;
  135.         return $this;
  136.     }
  137.     public function getFechaActualizacion(): ?\DateTimeInterface
  138.     {
  139.         return $this->fechaActualizacion;
  140.     }
  141.     public function setFechaActualizacion(\DateTimeInterface $fechaActualizacion): static
  142.     {
  143.         $this->fechaActualizacion $fechaActualizacion;
  144.         return $this;
  145.     }
  146.     public function isNotificarCambio(): ?bool
  147.     {
  148.         return $this->notificarCambio;
  149.     }
  150.     public function setNotificarCambio(?bool $notificarCambio): static
  151.     {
  152.         $this->notificarCambio $notificarCambio;
  153.         return $this;
  154.     }
  155.     /**
  156.      * @return Collection<int, TerPersona>
  157.      */
  158.     public function getUsuariosNotificar(): Collection
  159.     {
  160.         return $this->usuariosNotificar;
  161.     }
  162.     public function addUsuariosNotificar(TerPersona $usuariosNotificar): static
  163.     {
  164.         if (!$this->usuariosNotificar->contains($usuariosNotificar)) {
  165.             $this->usuariosNotificar->add($usuariosNotificar);
  166.         }
  167.         return $this;
  168.     }
  169.     public function removeUsuariosNotificar(TerPersona $usuariosNotificar): static
  170.     {
  171.         $this->usuariosNotificar->removeElement($usuariosNotificar);
  172.         return $this;
  173.     }
  174.     public function getTerEmpresaCliente(): ?TerEmpresaCliente
  175.     {
  176.         return $this->terEmpresaCliente;
  177.     }
  178.     public function setTerEmpresaCliente(?TerEmpresaCliente $terEmpresaCliente): static
  179.     {
  180.         $this->terEmpresaCliente $terEmpresaCliente;
  181.         return $this;
  182.     }
  183.     /**
  184.      * @return Collection<int, ComInformacionContacto>
  185.      */
  186.     public function getComInformacionContacto(): Collection
  187.     {
  188.         return $this->comInformacionContacto;
  189.     }
  190.     public function addComInformacionContacto(ComInformacionContacto $comInformacionContacto): static
  191.     {
  192.         if (!$this->comInformacionContacto->contains($comInformacionContacto)) {
  193.             $this->comInformacionContacto->add($comInformacionContacto);
  194.         }
  195.         return $this;
  196.     }
  197.     public function removeComInformacionContacto(ComInformacionContacto $comInformacionContacto): static
  198.     {
  199.         $this->comInformacionContacto->removeElement($comInformacionContacto);
  200.         return $this;
  201.     }
  202.     public function getComOfertaComercial(): ?ComOfertaComercial
  203.     {
  204.         return $this->comOfertaComercial;
  205.     }
  206.     public function setComOfertaComercial(?ComOfertaComercial $comOfertaComercial): static
  207.     {
  208.         $this->comOfertaComercial $comOfertaComercial;
  209.         return $this;
  210.     }
  211.     public function getComCreacionCliente(): ?ComCreacionCliente
  212.     {
  213.         return $this->comCreacionCliente;
  214.     }
  215.     public function setComCreacionCliente(?ComCreacionCliente $comCreacionCliente): static
  216.     {
  217.         $this->comCreacionCliente $comCreacionCliente;
  218.         return $this;
  219.     }
  220.     /**
  221.      * @return Collection<int, ComOperadoresComercioExterior>
  222.      */
  223.     public function getComOperadoresComercioExteriors(): Collection
  224.     {
  225.         return $this->comOperadoresComercioExteriors;
  226.     }
  227.     public function addComOperadoresComercioExterior(ComOperadoresComercioExterior $comOperadoresComercioExterior): static
  228.     {
  229.         if (!$this->comOperadoresComercioExteriors->contains($comOperadoresComercioExterior)) {
  230.             $this->comOperadoresComercioExteriors->add($comOperadoresComercioExterior);
  231.             $comOperadoresComercioExterior->setComHojaVida($this);
  232.         }
  233.         return $this;
  234.     }
  235.     public function removeComOperadoresComercioExterior(ComOperadoresComercioExterior $comOperadoresComercioExterior): static
  236.     {
  237.         if ($this->comOperadoresComercioExteriors->removeElement($comOperadoresComercioExterior)) {
  238.             // set the owning side to null (unless already changed)
  239.             if ($comOperadoresComercioExterior->getComHojaVida() === $this) {
  240.                 $comOperadoresComercioExterior->setComHojaVida(null);
  241.             }
  242.         }
  243.         return $this;
  244.     }
  245.     /**
  246.      * @return Collection<int, ComProductosImportadosExportados>
  247.      */
  248.     public function getComProductosImportadosExportados(): Collection
  249.     {
  250.         return $this->comProductosImportadosExportados;
  251.     }
  252.     public function addComProductosImportadosExportado(ComProductosImportadosExportados $comProductosImportadosExportado): static
  253.     {
  254.         if (!$this->comProductosImportadosExportados->contains($comProductosImportadosExportado)) {
  255.             $this->comProductosImportadosExportados->add($comProductosImportadosExportado);
  256.             $comProductosImportadosExportado->setComHojaVida($this);
  257.         }
  258.         return $this;
  259.     }
  260.     public function removeComProductosImportadosExportado(ComProductosImportadosExportados $comProductosImportadosExportado): static
  261.     {
  262.         if ($this->comProductosImportadosExportados->removeElement($comProductosImportadosExportado)) {
  263.             // set the owning side to null (unless already changed)
  264.             if ($comProductosImportadosExportado->getComHojaVida() === $this) {
  265.                 $comProductosImportadosExportado->setComHojaVida(null);
  266.             }
  267.         }
  268.         return $this;
  269.     }
  270.     public function getCreateAt(): ?\DateTimeInterface
  271.     {
  272.         return $this->createAt;
  273.     }
  274.     public function setCreateAt(?\DateTimeInterface $createAt): static
  275.     {
  276.         $this->createAt $createAt;
  277.         return $this;
  278.     }
  279.     public function getUpdateAt(): ?\DateTimeInterface
  280.     {
  281.         return $this->updateAt;
  282.     }
  283.     public function setUpdateAt(?\DateTimeInterface $updateAt): static
  284.     {
  285.         $this->updateAt $updateAt;
  286.         return $this;
  287.     }
  288.     public function getCreateUser(): ?string
  289.     {
  290.         return $this->createUser;
  291.     }
  292.     public function setCreateUser(?string $createUser): static
  293.     {
  294.         $this->createUser $createUser;
  295.         return $this;
  296.     }
  297.     public function getUpdateUser(): ?string
  298.     {
  299.         return $this->updateUser;
  300.     }
  301.     public function setUpdateUser(?string $updateUser): static
  302.     {
  303.         $this->updateUser $updateUser;
  304.         return $this;
  305.     }
  306.     /**
  307.      * @return Collection<int, ComTiempoServiciosANS>
  308.      */
  309.     public function getComTiempoServiciosANS(): Collection
  310.     {
  311.         return $this->comTiempoServiciosANS;
  312.     }
  313.     public function addComTiempoServiciosAN(ComTiempoServiciosANS $comTiempoServiciosAN): static
  314.     {
  315.         if (!$this->comTiempoServiciosANS->contains($comTiempoServiciosAN)) {
  316.             $this->comTiempoServiciosANS->add($comTiempoServiciosAN);
  317.             $comTiempoServiciosAN->setComHojaVida($this);
  318.         }
  319.         return $this;
  320.     }
  321.     public function removeComTiempoServiciosAN(ComTiempoServiciosANS $comTiempoServiciosAN): static
  322.     {
  323.         if ($this->comTiempoServiciosANS->removeElement($comTiempoServiciosAN)) {
  324.             // set the owning side to null (unless already changed)
  325.             if ($comTiempoServiciosAN->getComHojaVida() === $this) {
  326.                 $comTiempoServiciosAN->setComHojaVida(null);
  327.             }
  328.         }
  329.         return $this;
  330.     }
  331.     /**
  332.      * @return Collection<int, ComCondicionesOperacion>
  333.      */
  334.     public function getComCondicionesOperacions(): Collection
  335.     {
  336.         return $this->comCondicionesOperacions;
  337.     }
  338.     public function addComCondicionesOperacion(ComCondicionesOperacion $comCondicionesOperacion): static
  339.     {
  340.         if (!$this->comCondicionesOperacions->contains($comCondicionesOperacion)) {
  341.             $this->comCondicionesOperacions->add($comCondicionesOperacion);
  342.             $comCondicionesOperacion->setComHojaVida($this);
  343.         }
  344.         return $this;
  345.     }
  346.     public function removeComCondicionesOperacion(ComCondicionesOperacion $comCondicionesOperacion): static
  347.     {
  348.         if ($this->comCondicionesOperacions->removeElement($comCondicionesOperacion)) {
  349.             // set the owning side to null (unless already changed)
  350.             if ($comCondicionesOperacion->getComHojaVida() === $this) {
  351.                 $comCondicionesOperacion->setComHojaVida(null);
  352.             }
  353.         }
  354.         return $this;
  355.     }
  356.     /**
  357.      * @return Collection<int, ComCondicionesOperacionImpo>
  358.      */
  359.     public function getComCondicionesOperacionImpos(): Collection
  360.     {
  361.         return $this->comCondicionesOperacionImpos;
  362.     }
  363.     public function addComCondicionesOperacionImpo(ComCondicionesOperacionImpo $comCondicionesOperacionImpo): static
  364.     {
  365.         if (!$this->comCondicionesOperacionImpos->contains($comCondicionesOperacionImpo)) {
  366.             $this->comCondicionesOperacionImpos->add($comCondicionesOperacionImpo);
  367.             $comCondicionesOperacionImpo->setComHojaVida($this);
  368.         }
  369.         return $this;
  370.     }
  371.     public function removeComCondicionesOperacionImpo(ComCondicionesOperacionImpo $comCondicionesOperacionImpo): static
  372.     {
  373.         if ($this->comCondicionesOperacionImpos->removeElement($comCondicionesOperacionImpo)) {
  374.             // set the owning side to null (unless already changed)
  375.             if ($comCondicionesOperacionImpo->getComHojaVida() === $this) {
  376.                 $comCondicionesOperacionImpo->setComHojaVida(null);
  377.             }
  378.         }
  379.         return $this;
  380.     }
  381.     /**
  382.      * @return Collection<int, ComCondicionesOperacionExpo>
  383.      */
  384.     public function getComCondicionesOperacionExpos(): Collection
  385.     {
  386.         return $this->comCondicionesOperacionExpos;
  387.     }
  388.     public function addComCondicionesOperacionExpo(ComCondicionesOperacionExpo $comCondicionesOperacionExpo): static
  389.     {
  390.         if (!$this->comCondicionesOperacionExpos->contains($comCondicionesOperacionExpo)) {
  391.             $this->comCondicionesOperacionExpos->add($comCondicionesOperacionExpo);
  392.             $comCondicionesOperacionExpo->setComHojaVida($this);
  393.         }
  394.         return $this;
  395.     }
  396.     public function removeComCondicionesOperacionExpo(ComCondicionesOperacionExpo $comCondicionesOperacionExpo): static
  397.     {
  398.         if ($this->comCondicionesOperacionExpos->removeElement($comCondicionesOperacionExpo)) {
  399.             // set the owning side to null (unless already changed)
  400.             if ($comCondicionesOperacionExpo->getComHojaVida() === $this) {
  401.                 $comCondicionesOperacionExpo->setComHojaVida(null);
  402.             }
  403.         }
  404.         return $this;
  405.     }
  406.     /**
  407.      * @return Collection<int, ComCondicionesOperacionInspeccion>
  408.      */
  409.     public function getComCondicionesOperacionInspeccions(): Collection
  410.     {
  411.         return $this->comCondicionesOperacionInspeccions;
  412.     }
  413.     public function addComCondicionesOperacionInspeccion(ComCondicionesOperacionInspeccion $comCondicionesOperacionInspeccion): static
  414.     {
  415.         if (!$this->comCondicionesOperacionInspeccions->contains($comCondicionesOperacionInspeccion)) {
  416.             $this->comCondicionesOperacionInspeccions->add($comCondicionesOperacionInspeccion);
  417.             $comCondicionesOperacionInspeccion->setComHojaVida($this);
  418.         }
  419.         return $this;
  420.     }
  421.     public function removeComCondicionesOperacionInspeccion(ComCondicionesOperacionInspeccion $comCondicionesOperacionInspeccion): static
  422.     {
  423.         if ($this->comCondicionesOperacionInspeccions->removeElement($comCondicionesOperacionInspeccion)) {
  424.             // set the owning side to null (unless already changed)
  425.             if ($comCondicionesOperacionInspeccion->getComHojaVida() === $this) {
  426.                 $comCondicionesOperacionInspeccion->setComHojaVida(null);
  427.             }
  428.         }
  429.         return $this;
  430.     }
  431.     /**
  432.      * @return Collection<int, ComCondicionesOperacionBodega>
  433.      */
  434.     public function getComCondicionesOperacionBodegas(): Collection
  435.     {
  436.         return $this->comCondicionesOperacionBodegas;
  437.     }
  438.     public function addComCondicionesOperacionBodega(ComCondicionesOperacionBodega $comCondicionesOperacionBodega): static
  439.     {
  440.         if (!$this->comCondicionesOperacionBodegas->contains($comCondicionesOperacionBodega)) {
  441.             $this->comCondicionesOperacionBodegas->add($comCondicionesOperacionBodega);
  442.             $comCondicionesOperacionBodega->setComHojaVida($this);
  443.         }
  444.         return $this;
  445.     }
  446.     public function removeComCondicionesOperacionBodega(ComCondicionesOperacionBodega $comCondicionesOperacionBodega): static
  447.     {
  448.         if ($this->comCondicionesOperacionBodegas->removeElement($comCondicionesOperacionBodega)) {
  449.             // set the owning side to null (unless already changed)
  450.             if ($comCondicionesOperacionBodega->getComHojaVida() === $this) {
  451.                 $comCondicionesOperacionBodega->setComHojaVida(null);
  452.             }
  453.         }
  454.         return $this;
  455.     }
  456.     /**
  457.      * @return Collection<int, ComPagoDeclaraciones>
  458.      */
  459.     public function getComPagoDeclaraciones(): Collection
  460.     {
  461.         return $this->comPagoDeclaraciones;
  462.     }
  463.     public function addComPagoDeclaracione(ComPagoDeclaraciones $comPagoDeclaracione): static
  464.     {
  465.         if (!$this->comPagoDeclaraciones->contains($comPagoDeclaracione)) {
  466.             $this->comPagoDeclaraciones->add($comPagoDeclaracione);
  467.             $comPagoDeclaracione->setComHojaVida($this);
  468.         }
  469.         return $this;
  470.     }
  471.     public function removeComPagoDeclaracione(ComPagoDeclaraciones $comPagoDeclaracione): static
  472.     {
  473.         if ($this->comPagoDeclaraciones->removeElement($comPagoDeclaracione)) {
  474.             // set the owning side to null (unless already changed)
  475.             if ($comPagoDeclaracione->getComHojaVida() === $this) {
  476.                 $comPagoDeclaracione->setComHojaVida(null);
  477.             }
  478.         }
  479.         return $this;
  480.     }
  481.     /**
  482.      * @return Collection<int, ComPagoTerceros>
  483.      */
  484.     public function getComPagoTerceros(): Collection
  485.     {
  486.         return $this->comPagoTerceros;
  487.     }
  488.     public function addComPagoTercero(ComPagoTerceros $comPagoTercero): static
  489.     {
  490.         if (!$this->comPagoTerceros->contains($comPagoTercero)) {
  491.             $this->comPagoTerceros->add($comPagoTercero);
  492.             $comPagoTercero->setComHojaVida($this);
  493.         }
  494.         return $this;
  495.     }
  496.     public function removeComPagoTercero(ComPagoTerceros $comPagoTercero): static
  497.     {
  498.         if ($this->comPagoTerceros->removeElement($comPagoTercero)) {
  499.             // set the owning side to null (unless already changed)
  500.             if ($comPagoTercero->getComHojaVida() === $this) {
  501.                 $comPagoTercero->setComHojaVida(null);
  502.             }
  503.         }
  504.         return $this;
  505.     }
  506.     /**
  507.      * @return Collection<int, ComAcuerdosCupoFondoAnticipo>
  508.      */
  509.     public function getComAcuerdosCupoFondoAnticipos(): Collection
  510.     {
  511.         return $this->comAcuerdosCupoFondoAnticipos;
  512.     }
  513.     public function addComAcuerdosCupoFondoAnticipo(ComAcuerdosCupoFondoAnticipo $comAcuerdosCupoFondoAnticipo): static
  514.     {
  515.         if (!$this->comAcuerdosCupoFondoAnticipos->contains($comAcuerdosCupoFondoAnticipo)) {
  516.             $this->comAcuerdosCupoFondoAnticipos->add($comAcuerdosCupoFondoAnticipo);
  517.             $comAcuerdosCupoFondoAnticipo->setComHojaVida($this);
  518.         }
  519.         return $this;
  520.     }
  521.     public function removeComAcuerdosCupoFondoAnticipo(ComAcuerdosCupoFondoAnticipo $comAcuerdosCupoFondoAnticipo): static
  522.     {
  523.         if ($this->comAcuerdosCupoFondoAnticipos->removeElement($comAcuerdosCupoFondoAnticipo)) {
  524.             // set the owning side to null (unless already changed)
  525.             if ($comAcuerdosCupoFondoAnticipo->getComHojaVida() === $this) {
  526.                 $comAcuerdosCupoFondoAnticipo->setComHojaVida(null);
  527.             }
  528.         }
  529.         return $this;
  530.     }
  531.     /**
  532.      * @return Collection<int, ComConsolidadoCupoFondoAnticipo>
  533.      */
  534.     public function getComConsolidadoCupoFondoAnticipos(): Collection
  535.     {
  536.         return $this->comConsolidadoCupoFondoAnticipos;
  537.     }
  538.     public function addComConsolidadoCupoFondoAnticipo(ComConsolidadoCupoFondoAnticipo $comConsolidadoCupoFondoAnticipo): static
  539.     {
  540.         if (!$this->comConsolidadoCupoFondoAnticipos->contains($comConsolidadoCupoFondoAnticipo)) {
  541.             $this->comConsolidadoCupoFondoAnticipos->add($comConsolidadoCupoFondoAnticipo);
  542.             $comConsolidadoCupoFondoAnticipo->setComHojaVida($this);
  543.         }
  544.         return $this;
  545.     }
  546.     public function removeComConsolidadoCupoFondoAnticipo(ComConsolidadoCupoFondoAnticipo $comConsolidadoCupoFondoAnticipo): static
  547.     {
  548.         if ($this->comConsolidadoCupoFondoAnticipos->removeElement($comConsolidadoCupoFondoAnticipo)) {
  549.             // set the owning side to null (unless already changed)
  550.             if ($comConsolidadoCupoFondoAnticipo->getComHojaVida() === $this) {
  551.                 $comConsolidadoCupoFondoAnticipo->setComHojaVida(null);
  552.             }
  553.         }
  554.         return $this;
  555.     }
  556.     /**
  557.      * @return Collection<int, ComFacturacionEmpresa>
  558.      */
  559.     public function getComFacturacionEmpresas(): Collection
  560.     {
  561.         return $this->comFacturacionEmpresas;
  562.     }
  563.     public function addComFacturacionEmpresa(ComFacturacionEmpresa $comFacturacionEmpresa): static
  564.     {
  565.         if (!$this->comFacturacionEmpresas->contains($comFacturacionEmpresa)) {
  566.             $this->comFacturacionEmpresas->add($comFacturacionEmpresa);
  567.             $comFacturacionEmpresa->setComHojaVida($this);
  568.         }
  569.         return $this;
  570.     }
  571.     public function removeComFacturacionEmpresa(ComFacturacionEmpresa $comFacturacionEmpresa): static
  572.     {
  573.         if ($this->comFacturacionEmpresas->removeElement($comFacturacionEmpresa)) {
  574.             // set the owning side to null (unless already changed)
  575.             if ($comFacturacionEmpresa->getComHojaVida() === $this) {
  576.                 $comFacturacionEmpresa->setComHojaVida(null);
  577.             }
  578.         }
  579.         return $this;
  580.     }
  581.     /**
  582.      * @return Collection<int, ComIndicadores>
  583.      */
  584.     public function getComIndicadores(): Collection
  585.     {
  586.         return $this->comIndicadores;
  587.     }
  588.     public function addComIndicadore(ComIndicadores $comIndicadore): static
  589.     {
  590.         if (!$this->comIndicadores->contains($comIndicadore)) {
  591.             $this->comIndicadores->add($comIndicadore);
  592.             $comIndicadore->setComHojaVida($this);
  593.         }
  594.         return $this;
  595.     }
  596.     public function removeComIndicadore(ComIndicadores $comIndicadore): static
  597.     {
  598.         if ($this->comIndicadores->removeElement($comIndicadore)) {
  599.             // set the owning side to null (unless already changed)
  600.             if ($comIndicadore->getComHojaVida() === $this) {
  601.                 $comIndicadore->setComHojaVida(null);
  602.             }
  603.         }
  604.         return $this;
  605.     }
  606.     /**
  607.      * @return Collection<int, ComEstatusOperacion>
  608.      */
  609.     public function getComEstatusOperacions(): Collection
  610.     {
  611.         return $this->comEstatusOperacions;
  612.     }
  613.     public function addComEstatusOperacion(ComEstatusOperacion $comEstatusOperacion): static
  614.     {
  615.         if (!$this->comEstatusOperacions->contains($comEstatusOperacion)) {
  616.             $this->comEstatusOperacions->add($comEstatusOperacion);
  617.             $comEstatusOperacion->setComHojaVida($this);
  618.         }
  619.         return $this;
  620.     }
  621.     public function removeComEstatusOperacion(ComEstatusOperacion $comEstatusOperacion): static
  622.     {
  623.         if ($this->comEstatusOperacions->removeElement($comEstatusOperacion)) {
  624.             // set the owning side to null (unless already changed)
  625.             if ($comEstatusOperacion->getComHojaVida() === $this) {
  626.                 $comEstatusOperacion->setComHojaVida(null);
  627.             }
  628.         }
  629.         return $this;
  630.     }
  631.     /**
  632.      * @return Collection<int, ComResultadoEncuestaSatisfaccion>
  633.      */
  634.     public function getComResultadoEncuestaSatisfaccions(): Collection
  635.     {
  636.         return $this->comResultadoEncuestaSatisfaccions;
  637.     }
  638.     public function addComResultadoEncuestaSatisfaccion(ComResultadoEncuestaSatisfaccion $comResultadoEncuestaSatisfaccion): static
  639.     {
  640.         if (!$this->comResultadoEncuestaSatisfaccions->contains($comResultadoEncuestaSatisfaccion)) {
  641.             $this->comResultadoEncuestaSatisfaccions->add($comResultadoEncuestaSatisfaccion);
  642.             $comResultadoEncuestaSatisfaccion->setComHojaVida($this);
  643.         }
  644.         return $this;
  645.     }
  646.     public function removeComResultadoEncuestaSatisfaccion(ComResultadoEncuestaSatisfaccion $comResultadoEncuestaSatisfaccion): static
  647.     {
  648.         if ($this->comResultadoEncuestaSatisfaccions->removeElement($comResultadoEncuestaSatisfaccion)) {
  649.             // set the owning side to null (unless already changed)
  650.             if ($comResultadoEncuestaSatisfaccion->getComHojaVida() === $this) {
  651.                 $comResultadoEncuestaSatisfaccion->setComHojaVida(null);
  652.             }
  653.         }
  654.         return $this;
  655.     }
  656.     /**
  657.      * @return Collection<int, ComComisionesTerceros>
  658.      */
  659.     public function getComComisionesTerceros(): Collection
  660.     {
  661.         return $this->comComisionesTerceros;
  662.     }
  663.     public function addComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
  664.     {
  665.         if (!$this->comComisionesTerceros->contains($comComisionesTercero)) {
  666.             $this->comComisionesTerceros->add($comComisionesTercero);
  667.             $comComisionesTercero->setComHojaVida($this);
  668.         }
  669.         return $this;
  670.     }
  671.     public function removeComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
  672.     {
  673.         if ($this->comComisionesTerceros->removeElement($comComisionesTercero)) {
  674.             // set the owning side to null (unless already changed)
  675.             if ($comComisionesTercero->getComHojaVida() === $this) {
  676.                 $comComisionesTercero->setComHojaVida(null);
  677.             }
  678.         }
  679.         return $this;
  680.     }
  681.     /**
  682.      * @return Collection<int, ComDocumentosSoporte>
  683.      */
  684.     public function getComDocumentosSoportes(): Collection
  685.     {
  686.         return $this->comDocumentosSoportes;
  687.     }
  688.     public function addComDocumentosSoporte(ComDocumentosSoporte $comDocumentosSoporte): static
  689.     {
  690.         if (!$this->comDocumentosSoportes->contains($comDocumentosSoporte)) {
  691.             $this->comDocumentosSoportes->add($comDocumentosSoporte);
  692.             $comDocumentosSoporte->setComHojaVida($this);
  693.         }
  694.         return $this;
  695.     }
  696.     public function removeComDocumentosSoporte(ComDocumentosSoporte $comDocumentosSoporte): static
  697.     {
  698.         if ($this->comDocumentosSoportes->removeElement($comDocumentosSoporte)) {
  699.             // set the owning side to null (unless already changed)
  700.             if ($comDocumentosSoporte->getComHojaVida() === $this) {
  701.                 $comDocumentosSoporte->setComHojaVida(null);
  702.             }
  703.         }
  704.         return $this;
  705.     }
  706.     /**
  707.      * @return Collection<int, ComInformacionAdicional>
  708.      */
  709.     public function getComInformacionAdicionals(): Collection
  710.     {
  711.         return $this->comInformacionAdicionals;
  712.     }
  713.     public function addComInformacionAdicional(ComInformacionAdicional $comInformacionAdicional): static
  714.     {
  715.         if (!$this->comInformacionAdicionals->contains($comInformacionAdicional)) {
  716.             $this->comInformacionAdicionals->add($comInformacionAdicional);
  717.             $comInformacionAdicional->setComHojaVida($this);
  718.         }
  719.         return $this;
  720.     }
  721.     public function removeComInformacionAdicional(ComInformacionAdicional $comInformacionAdicional): static
  722.     {
  723.         if ($this->comInformacionAdicionals->removeElement($comInformacionAdicional)) {
  724.             // set the owning side to null (unless already changed)
  725.             if ($comInformacionAdicional->getComHojaVida() === $this) {
  726.                 $comInformacionAdicional->setComHojaVida(null);
  727.             }
  728.         }
  729.         return $this;
  730.     }
  731.     public function getEstadoCliente(): ?ParEstado
  732.     {
  733.         return $this->estadoCliente;
  734.     }
  735.     public function setEstadoCliente(?ParEstado $estadoCliente): static
  736.     {
  737.         $this->estadoCliente $estadoCliente;
  738.         return $this;
  739.     }
  740.     /**
  741.      * @return Collection<int, ComIdentificacionCliente>
  742.      */
  743.     public function getComIdentificacionClientes(): Collection
  744.     {
  745.         return $this->comIdentificacionClientes;
  746.     }
  747.     public function addComIdentificacionCliente(ComIdentificacionCliente $comIdentificacionCliente): static
  748.     {
  749.         if (!$this->comIdentificacionClientes->contains($comIdentificacionCliente)) {
  750.             $this->comIdentificacionClientes->add($comIdentificacionCliente);
  751.             $comIdentificacionCliente->setComHojaVida($this);
  752.         }
  753.         return $this;
  754.     }
  755.     public function removeComIdentificacionCliente(ComIdentificacionCliente $comIdentificacionCliente): static
  756.     {
  757.         if ($this->comIdentificacionClientes->removeElement($comIdentificacionCliente)) {
  758.             // set the owning side to null (unless already changed)
  759.             if ($comIdentificacionCliente->getComHojaVida() === $this) {
  760.                 $comIdentificacionCliente->setComHojaVida(null);
  761.             }
  762.         }
  763.         return $this;
  764.     }
  765.     /**
  766.      * @return Collection<int, ComMatrizContactosHojaVida>
  767.      */
  768.     public function getComMatrizContactosHojaVidas(): Collection
  769.     {
  770.         return $this->comMatrizContactosHojaVidas;
  771.     }
  772.     public function addComMatrizContactosHojaVida(ComMatrizContactosHojaVida $comMatrizContactosHojaVida): static
  773.     {
  774.         if (!$this->comMatrizContactosHojaVidas->contains($comMatrizContactosHojaVida)) {
  775.             $this->comMatrizContactosHojaVidas->add($comMatrizContactosHojaVida);
  776.             $comMatrizContactosHojaVida->setComHojaVida($this);
  777.         }
  778.         return $this;
  779.     }
  780.     public function removeComMatrizContactosHojaVida(ComMatrizContactosHojaVida $comMatrizContactosHojaVida): static
  781.     {
  782.         if ($this->comMatrizContactosHojaVidas->removeElement($comMatrizContactosHojaVida)) {
  783.             // set the owning side to null (unless already changed)
  784.             if ($comMatrizContactosHojaVida->getComHojaVida() === $this) {
  785.                 $comMatrizContactosHojaVida->setComHojaVida(null);
  786.             }
  787.         }
  788.         return $this;
  789.     }
  790.     /**
  791.      * @return Collection<int, ComServiciosContratados>
  792.      */
  793.     public function getComServiciosContratados(): Collection
  794.     {
  795.         return $this->comServiciosContratados;
  796.     }
  797.     public function addComServiciosContratado(ComServiciosContratados $comServiciosContratado): static
  798.     {
  799.         if (!$this->comServiciosContratados->contains($comServiciosContratado)) {
  800.             $this->comServiciosContratados->add($comServiciosContratado);
  801.             $comServiciosContratado->setComHojaVida($this);
  802.         }
  803.         return $this;
  804.     }
  805.     public function removeComServiciosContratado(ComServiciosContratados $comServiciosContratado): static
  806.     {
  807.         if ($this->comServiciosContratados->removeElement($comServiciosContratado)) {
  808.             // set the owning side to null (unless already changed)
  809.             if ($comServiciosContratado->getComHojaVida() === $this) {
  810.                 $comServiciosContratado->setComHojaVida(null);
  811.             }
  812.         }
  813.         return $this;
  814.     }
  815.     /**
  816.      * @return Collection<int, ComPoderNaviera>
  817.      */
  818.     public function getComPoderNavieras(): Collection
  819.     {
  820.         return $this->comPoderNavieras;
  821.     }
  822.     public function addComPoderNaviera(ComPoderNaviera $comPoderNaviera): static
  823.     {
  824.         if (!$this->comPoderNavieras->contains($comPoderNaviera)) {
  825.             $this->comPoderNavieras->add($comPoderNaviera);
  826.             $comPoderNaviera->setComHojaVida($this);
  827.         }
  828.         return $this;
  829.     }
  830.     public function removeComPoderNaviera(ComPoderNaviera $comPoderNaviera): static
  831.     {
  832.         if ($this->comPoderNavieras->removeElement($comPoderNaviera)) {
  833.             // set the owning side to null (unless already changed)
  834.             if ($comPoderNaviera->getComHojaVida() === $this) {
  835.                 $comPoderNaviera->setComHojaVida(null);
  836.             }
  837.         }
  838.         return $this;
  839.     }
  840.     /**
  841.      * @return Collection<int, ComPromesaPago>
  842.      */
  843.     public function getComPromesaPagos(): Collection
  844.     {
  845.         return $this->comPromesaPagos;
  846.     }
  847.     public function addComPromesaPago(ComPromesaPago $comPromesaPago): static
  848.     {
  849.         if (!$this->comPromesaPagos->contains($comPromesaPago)) {
  850.             $this->comPromesaPagos->add($comPromesaPago);
  851.             $comPromesaPago->setComHojaVida($this);
  852.         }
  853.         return $this;
  854.     }
  855.     public function removeComPromesaPago(ComPromesaPago $comPromesaPago): static
  856.     {
  857.         if ($this->comPromesaPagos->removeElement($comPromesaPago)) {
  858.             // set the owning side to null (unless already changed)
  859.             if ($comPromesaPago->getComHojaVida() === $this) {
  860.                 $comPromesaPago->setComHojaVida(null);
  861.             }
  862.         }
  863.         return $this;
  864.     }
  865.     /**
  866.      * @return Collection<int, ComDocumentosAdicionales>
  867.      */
  868.     public function getComDocumentosAdicionales(): Collection
  869.     {
  870.         return $this->comDocumentosAdicionales;
  871.     }
  872.     public function addComDocumentosAdicionale(ComDocumentosAdicionales $comDocumentosAdicionale): static
  873.     {
  874.         if (!$this->comDocumentosAdicionales->contains($comDocumentosAdicionale)) {
  875.             $this->comDocumentosAdicionales->add($comDocumentosAdicionale);
  876.             $comDocumentosAdicionale->setComHojaVida($this);
  877.         }
  878.         return $this;
  879.     }
  880.     public function removeComDocumentosAdicionale(ComDocumentosAdicionales $comDocumentosAdicionale): static
  881.     {
  882.         if ($this->comDocumentosAdicionales->removeElement($comDocumentosAdicionale)) {
  883.             // set the owning side to null (unless already changed)
  884.             if ($comDocumentosAdicionale->getComHojaVida() === $this) {
  885.                 $comDocumentosAdicionale->setComHojaVida(null);
  886.             }
  887.         }
  888.         return $this;
  889.     }
  890.     /**
  891.      * @return Collection<int, ComHistoricoHojaVida>
  892.      */
  893.     public function getComHistoricoHojaVidas(): Collection
  894.     {
  895.         return $this->comHistoricoHojaVidas;
  896.     }
  897.     public function addComHistoricoHojaVida(ComHistoricoHojaVida $comHistoricoHojaVida): static
  898.     {
  899.         if (!$this->comHistoricoHojaVidas->contains($comHistoricoHojaVida)) {
  900.             $this->comHistoricoHojaVidas->add($comHistoricoHojaVida);
  901.             $comHistoricoHojaVida->setComHojaVida($this);
  902.         }
  903.         return $this;
  904.     }
  905.     public function removeComHistoricoHojaVida(ComHistoricoHojaVida $comHistoricoHojaVida): static
  906.     {
  907.         if ($this->comHistoricoHojaVidas->removeElement($comHistoricoHojaVida)) {
  908.             // set the owning side to null (unless already changed)
  909.             if ($comHistoricoHojaVida->getComHojaVida() === $this) {
  910.                 $comHistoricoHojaVida->setComHojaVida(null);
  911.             }
  912.         }
  913.         return $this;
  914.     }
  915. }