src/Entity/ComHojaVidaAsociado.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComHojaVidaAsociadoRepository;
  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(repositoryClassComHojaVidaAsociadoRepository::class)]
  9. class ComHojaVidaAsociado
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $fechaCreacion null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $fechaActualizacion null;
  19.     #[ORM\ManyToOne(inversedBy'comHojaVidaAsociados')]
  20.     private ?ParEstado $estadoCliente null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $notificarCamvio null;
  23.     #[ORM\ManyToMany(targetEntityTerPersona::class, inversedBy'comHojaVidaAsociados')]
  24.     private Collection $usuariosNotificar;
  25.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  26.     private ?\DateTimeInterface $createAt null;
  27.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  28.     private ?\DateTimeInterface $updateAt null;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $createUser null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $updateUser null;
  33.     #[ORM\ManyToOne(inversedBy'comHojaVidaAsociados')]
  34.     private ?TerEmpresaCliente $terEmpresaCliente null;
  35.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComIdentificacionCliente::class)]
  36.     private Collection $comIdentificacionClientes;
  37.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComMatrizContactosHojaVida::class)]
  38.     private Collection $comMatrizContactosHojaVidas;
  39.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComServiciosContratados::class)]
  40.     private Collection $comServiciosContratados;
  41.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComClientesVinculados::class)]
  42.     private Collection $comClientesVinculados;
  43.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComPoderNaviera::class)]
  44.     private Collection $comPoderNavieras;
  45.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComTiempoServiciosANS::class)]
  46.     private Collection $comTiempoServiciosANS;
  47.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComCondicionesOperacion::class)]
  48.     private Collection $comCondicionesOperacions;
  49.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComPagoDeclaraciones::class)]
  50.     private Collection $comPagoDeclaraciones;
  51.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComPagoTerceros::class)]
  52.     private Collection $comPagoTerceros;
  53.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComAcuerdosCupoFondoAnticipo::class)]
  54.     private Collection $comAcuerdosCupoFondoAnticipos;
  55.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComConsolidadoCupoFondoAnticipo::class)]
  56.     private Collection $comConsolidadoCupoFondoAnticipos;
  57.     #[ORM\OneToMany(mappedBy'comHojavidaAsociado'targetEntityComFacturacionEmpresa::class)]
  58.     private Collection $comFacturacionEmpresas;
  59.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComIndicadores::class)]
  60.     private Collection $comIndicadores;
  61.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComEstatusOperacion::class)]
  62.     private Collection $comEstatusOperacions;
  63.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComResultadoEncuestaSatisfaccion::class)]
  64.     private Collection $comResultadoEncuestaSatisfaccions;
  65.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComComisionesTerceros::class)]
  66.     private Collection $comComisionesTerceros;
  67.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComDocumentosCliente::class)]
  68.     private Collection $comDocumentosClientes;
  69.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComPromesaPago::class)]
  70.     private Collection $comPromesaPagos;
  71.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComDocumentosAdicionales::class)]
  72.     private Collection $comDocumentosAdicionales;
  73.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComInformacionAdicional::class)]
  74.     private Collection $comInformacionAdicionals;
  75.     #[ORM\OneToMany(mappedBy'comHojaVidaAsociado'targetEntityComHistoricoHojaVida::class)]
  76.     private Collection $comHistoricoHojaVidas;
  77.     public function __construct()
  78.     {
  79.         $this->usuariosNotificar = new ArrayCollection();
  80.         $this->comIdentificacionClientes = new ArrayCollection();
  81.         $this->comMatrizContactosHojaVidas = new ArrayCollection();
  82.         $this->comServiciosContratados = new ArrayCollection();
  83.         $this->comClientesVinculados = new ArrayCollection();
  84.         $this->comPoderNavieras = new ArrayCollection();
  85.         $this->comTiempoServiciosANS = new ArrayCollection();
  86.         $this->comCondicionesOperacions = new ArrayCollection();
  87.         $this->comPagoDeclaraciones = new ArrayCollection();
  88.         $this->comPagoTerceros = new ArrayCollection();
  89.         $this->comAcuerdosCupoFondoAnticipos = new ArrayCollection();
  90.         $this->comConsolidadoCupoFondoAnticipos = new ArrayCollection();
  91.         $this->comFacturacionEmpresas = new ArrayCollection();
  92.         $this->comIndicadores = new ArrayCollection();
  93.         $this->comEstatusOperacions = new ArrayCollection();
  94.         $this->comResultadoEncuestaSatisfaccions = new ArrayCollection();
  95.         $this->comComisionesTerceros = new ArrayCollection();
  96.         $this->comDocumentosClientes = new ArrayCollection();
  97.         $this->comPromesaPagos = new ArrayCollection();
  98.         $this->comDocumentosAdicionales = new ArrayCollection();
  99.         $this->comInformacionAdicionals = new ArrayCollection();
  100.         $this->comHistoricoHojaVidas = new ArrayCollection();
  101.     }
  102.     public function getId(): ?int
  103.     {
  104.         return $this->id;
  105.     }
  106.     public function getFechaCreacion(): ?\DateTimeInterface
  107.     {
  108.         return $this->fechaCreacion;
  109.     }
  110.     public function setFechaCreacion(?\DateTimeInterface $fechaCreacion): static
  111.     {
  112.         $this->fechaCreacion $fechaCreacion;
  113.         return $this;
  114.     }
  115.     public function getFechaActualizacion(): ?\DateTimeInterface
  116.     {
  117.         return $this->fechaActualizacion;
  118.     }
  119.     public function setFechaActualizacion(?\DateTimeInterface $fechaActualizacion): static
  120.     {
  121.         $this->fechaActualizacion $fechaActualizacion;
  122.         return $this;
  123.     }
  124.     public function getEstadoCliente(): ?ParEstado
  125.     {
  126.         return $this->estadoCliente;
  127.     }
  128.     public function setEstadoCliente(?ParEstado $estadoCliente): static
  129.     {
  130.         $this->estadoCliente $estadoCliente;
  131.         return $this;
  132.     }
  133.     public function getNotificarCamvio(): ?string
  134.     {
  135.         return $this->notificarCamvio;
  136.     }
  137.     public function setNotificarCamvio(?string $notificarCamvio): static
  138.     {
  139.         $this->notificarCamvio $notificarCamvio;
  140.         return $this;
  141.     }
  142.     /**
  143.      * @return Collection<int, TerPersona>
  144.      */
  145.     public function getUsuariosNotificar(): Collection
  146.     {
  147.         return $this->usuariosNotificar;
  148.     }
  149.     public function addUsuariosNotificar(TerPersona $usuariosNotificar): static
  150.     {
  151.         if (!$this->usuariosNotificar->contains($usuariosNotificar)) {
  152.             $this->usuariosNotificar->add($usuariosNotificar);
  153.         }
  154.         return $this;
  155.     }
  156.     public function removeUsuariosNotificar(TerPersona $usuariosNotificar): static
  157.     {
  158.         $this->usuariosNotificar->removeElement($usuariosNotificar);
  159.         return $this;
  160.     }
  161.     public function getCreateAt(): ?\DateTimeInterface
  162.     {
  163.         return $this->createAt;
  164.     }
  165.     public function setCreateAt(?\DateTimeInterface $createAt): static
  166.     {
  167.         $this->createAt $createAt;
  168.         return $this;
  169.     }
  170.     public function getUpdateAt(): ?\DateTimeInterface
  171.     {
  172.         return $this->updateAt;
  173.     }
  174.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  175.     {
  176.         $this->updateAt $updateAt;
  177.         return $this;
  178.     }
  179.     public function getCreateUser(): ?string
  180.     {
  181.         return $this->createUser;
  182.     }
  183.     public function setCreateUser(?string $createUser): static
  184.     {
  185.         $this->createUser $createUser;
  186.         return $this;
  187.     }
  188.     public function getUpdateUser(): ?string
  189.     {
  190.         return $this->updateUser;
  191.     }
  192.     public function setUpdateUser(?string $updateUser): static
  193.     {
  194.         $this->updateUser $updateUser;
  195.         return $this;
  196.     }
  197.     public function getTerEmpresaCliente(): ?TerEmpresaCliente
  198.     {
  199.         return $this->terEmpresaCliente;
  200.     }
  201.     public function setTerEmpresaCliente(?TerEmpresaCliente $terEmpresaCliente): static
  202.     {
  203.         $this->terEmpresaCliente $terEmpresaCliente;
  204.         return $this;
  205.     }
  206.     /**
  207.      * @return Collection<int, ComIdentificacionCliente>
  208.      */
  209.     public function getComIdentificacionClientes(): Collection
  210.     {
  211.         return $this->comIdentificacionClientes;
  212.     }
  213.     public function addComIdentificacionCliente(ComIdentificacionCliente $comIdentificacionCliente): static
  214.     {
  215.         if (!$this->comIdentificacionClientes->contains($comIdentificacionCliente)) {
  216.             $this->comIdentificacionClientes->add($comIdentificacionCliente);
  217.             $comIdentificacionCliente->setComHojaVidaAsociado($this);
  218.         }
  219.         return $this;
  220.     }
  221.     public function removeComIdentificacionCliente(ComIdentificacionCliente $comIdentificacionCliente): static
  222.     {
  223.         if ($this->comIdentificacionClientes->removeElement($comIdentificacionCliente)) {
  224.             // set the owning side to null (unless already changed)
  225.             if ($comIdentificacionCliente->getComHojaVidaAsociado() === $this) {
  226.                 $comIdentificacionCliente->setComHojaVidaAsociado(null);
  227.             }
  228.         }
  229.         return $this;
  230.     }
  231.     /**
  232.      * @return Collection<int, ComMatrizContactosHojaVida>
  233.      */
  234.     public function getComMatrizContactosHojaVidas(): Collection
  235.     {
  236.         return $this->comMatrizContactosHojaVidas;
  237.     }
  238.     public function addComMatrizContactosHojaVida(ComMatrizContactosHojaVida $comMatrizContactosHojaVida): static
  239.     {
  240.         if (!$this->comMatrizContactosHojaVidas->contains($comMatrizContactosHojaVida)) {
  241.             $this->comMatrizContactosHojaVidas->add($comMatrizContactosHojaVida);
  242.             $comMatrizContactosHojaVida->setComHojaVidaAsociado($this);
  243.         }
  244.         return $this;
  245.     }
  246.     public function removeComMatrizContactosHojaVida(ComMatrizContactosHojaVida $comMatrizContactosHojaVida): static
  247.     {
  248.         if ($this->comMatrizContactosHojaVidas->removeElement($comMatrizContactosHojaVida)) {
  249.             // set the owning side to null (unless already changed)
  250.             if ($comMatrizContactosHojaVida->getComHojaVidaAsociado() === $this) {
  251.                 $comMatrizContactosHojaVida->setComHojaVidaAsociado(null);
  252.             }
  253.         }
  254.         return $this;
  255.     }
  256.     /**
  257.      * @return Collection<int, ComServiciosContratados>
  258.      */
  259.     public function getComServiciosContratados(): Collection
  260.     {
  261.         return $this->comServiciosContratados;
  262.     }
  263.     public function addComServiciosContratado(ComServiciosContratados $comServiciosContratado): static
  264.     {
  265.         if (!$this->comServiciosContratados->contains($comServiciosContratado)) {
  266.             $this->comServiciosContratados->add($comServiciosContratado);
  267.             $comServiciosContratado->setComHojaVidaAsociado($this);
  268.         }
  269.         return $this;
  270.     }
  271.     public function removeComServiciosContratado(ComServiciosContratados $comServiciosContratado): static
  272.     {
  273.         if ($this->comServiciosContratados->removeElement($comServiciosContratado)) {
  274.             // set the owning side to null (unless already changed)
  275.             if ($comServiciosContratado->getComHojaVidaAsociado() === $this) {
  276.                 $comServiciosContratado->setComHojaVidaAsociado(null);
  277.             }
  278.         }
  279.         return $this;
  280.     }
  281.     /**
  282.      * @return Collection<int, ComClientesVinculados>
  283.      */
  284.     public function getComClientesVinculados(): Collection
  285.     {
  286.         return $this->comClientesVinculados;
  287.     }
  288.     public function addComClientesVinculado(ComClientesVinculados $comClientesVinculado): static
  289.     {
  290.         if (!$this->comClientesVinculados->contains($comClientesVinculado)) {
  291.             $this->comClientesVinculados->add($comClientesVinculado);
  292.             $comClientesVinculado->setComHojaVidaAsociado($this);
  293.         }
  294.         return $this;
  295.     }
  296.     public function removeComClientesVinculado(ComClientesVinculados $comClientesVinculado): static
  297.     {
  298.         if ($this->comClientesVinculados->removeElement($comClientesVinculado)) {
  299.             // set the owning side to null (unless already changed)
  300.             if ($comClientesVinculado->getComHojaVidaAsociado() === $this) {
  301.                 $comClientesVinculado->setComHojaVidaAsociado(null);
  302.             }
  303.         }
  304.         return $this;
  305.     }
  306.     /**
  307.      * @return Collection<int, ComPoderNaviera>
  308.      */
  309.     public function getComPoderNavieras(): Collection
  310.     {
  311.         return $this->comPoderNavieras;
  312.     }
  313.     public function addComPoderNaviera(ComPoderNaviera $comPoderNaviera): static
  314.     {
  315.         if (!$this->comPoderNavieras->contains($comPoderNaviera)) {
  316.             $this->comPoderNavieras->add($comPoderNaviera);
  317.             $comPoderNaviera->setComHojaVidaAsociado($this);
  318.         }
  319.         return $this;
  320.     }
  321.     public function removeComPoderNaviera(ComPoderNaviera $comPoderNaviera): static
  322.     {
  323.         if ($this->comPoderNavieras->removeElement($comPoderNaviera)) {
  324.             // set the owning side to null (unless already changed)
  325.             if ($comPoderNaviera->getComHojaVidaAsociado() === $this) {
  326.                 $comPoderNaviera->setComHojaVidaAsociado(null);
  327.             }
  328.         }
  329.         return $this;
  330.     }
  331.     /**
  332.      * @return Collection<int, ComTiempoServiciosANS>
  333.      */
  334.     public function getComTiempoServiciosANS(): Collection
  335.     {
  336.         return $this->comTiempoServiciosANS;
  337.     }
  338.     public function addComTiempoServiciosAN(ComTiempoServiciosANS $comTiempoServiciosAN): static
  339.     {
  340.         if (!$this->comTiempoServiciosANS->contains($comTiempoServiciosAN)) {
  341.             $this->comTiempoServiciosANS->add($comTiempoServiciosAN);
  342.             $comTiempoServiciosAN->setComHojaVidaAsociado($this);
  343.         }
  344.         return $this;
  345.     }
  346.     public function removeComTiempoServiciosAN(ComTiempoServiciosANS $comTiempoServiciosAN): static
  347.     {
  348.         if ($this->comTiempoServiciosANS->removeElement($comTiempoServiciosAN)) {
  349.             // set the owning side to null (unless already changed)
  350.             if ($comTiempoServiciosAN->getComHojaVidaAsociado() === $this) {
  351.                 $comTiempoServiciosAN->setComHojaVidaAsociado(null);
  352.             }
  353.         }
  354.         return $this;
  355.     }
  356.     /**
  357.      * @return Collection<int, ComCondicionesOperacion>
  358.      */
  359.     public function getComCondicionesOperacions(): Collection
  360.     {
  361.         return $this->comCondicionesOperacions;
  362.     }
  363.     public function addComCondicionesOperacion(ComCondicionesOperacion $comCondicionesOperacion): static
  364.     {
  365.         if (!$this->comCondicionesOperacions->contains($comCondicionesOperacion)) {
  366.             $this->comCondicionesOperacions->add($comCondicionesOperacion);
  367.             $comCondicionesOperacion->setComHojaVidaAsociado($this);
  368.         }
  369.         return $this;
  370.     }
  371.     public function removeComCondicionesOperacion(ComCondicionesOperacion $comCondicionesOperacion): static
  372.     {
  373.         if ($this->comCondicionesOperacions->removeElement($comCondicionesOperacion)) {
  374.             // set the owning side to null (unless already changed)
  375.             if ($comCondicionesOperacion->getComHojaVidaAsociado() === $this) {
  376.                 $comCondicionesOperacion->setComHojaVidaAsociado(null);
  377.             }
  378.         }
  379.         return $this;
  380.     }
  381.     /**
  382.      * @return Collection<int, ComPagoDeclaraciones>
  383.      */
  384.     public function getComPagoDeclaraciones(): Collection
  385.     {
  386.         return $this->comPagoDeclaraciones;
  387.     }
  388.     public function addComPagoDeclaracione(ComPagoDeclaraciones $comPagoDeclaracione): static
  389.     {
  390.         if (!$this->comPagoDeclaraciones->contains($comPagoDeclaracione)) {
  391.             $this->comPagoDeclaraciones->add($comPagoDeclaracione);
  392.             $comPagoDeclaracione->setComHojaVidaAsociado($this);
  393.         }
  394.         return $this;
  395.     }
  396.     public function removeComPagoDeclaracione(ComPagoDeclaraciones $comPagoDeclaracione): static
  397.     {
  398.         if ($this->comPagoDeclaraciones->removeElement($comPagoDeclaracione)) {
  399.             // set the owning side to null (unless already changed)
  400.             if ($comPagoDeclaracione->getComHojaVidaAsociado() === $this) {
  401.                 $comPagoDeclaracione->setComHojaVidaAsociado(null);
  402.             }
  403.         }
  404.         return $this;
  405.     }
  406.     /**
  407.      * @return Collection<int, ComPagoTerceros>
  408.      */
  409.     public function getComPagoTerceros(): Collection
  410.     {
  411.         return $this->comPagoTerceros;
  412.     }
  413.     public function addComPagoTercero(ComPagoTerceros $comPagoTercero): static
  414.     {
  415.         if (!$this->comPagoTerceros->contains($comPagoTercero)) {
  416.             $this->comPagoTerceros->add($comPagoTercero);
  417.             $comPagoTercero->setComHojaVidaAsociado($this);
  418.         }
  419.         return $this;
  420.     }
  421.     public function removeComPagoTercero(ComPagoTerceros $comPagoTercero): static
  422.     {
  423.         if ($this->comPagoTerceros->removeElement($comPagoTercero)) {
  424.             // set the owning side to null (unless already changed)
  425.             if ($comPagoTercero->getComHojaVidaAsociado() === $this) {
  426.                 $comPagoTercero->setComHojaVidaAsociado(null);
  427.             }
  428.         }
  429.         return $this;
  430.     }
  431.     /**
  432.      * @return Collection<int, ComAcuerdosCupoFondoAnticipo>
  433.      */
  434.     public function getComAcuerdosCupoFondoAnticipos(): Collection
  435.     {
  436.         return $this->comAcuerdosCupoFondoAnticipos;
  437.     }
  438.     public function addComAcuerdosCupoFondoAnticipo(ComAcuerdosCupoFondoAnticipo $comAcuerdosCupoFondoAnticipo): static
  439.     {
  440.         if (!$this->comAcuerdosCupoFondoAnticipos->contains($comAcuerdosCupoFondoAnticipo)) {
  441.             $this->comAcuerdosCupoFondoAnticipos->add($comAcuerdosCupoFondoAnticipo);
  442.             $comAcuerdosCupoFondoAnticipo->setComHojaVidaAsociado($this);
  443.         }
  444.         return $this;
  445.     }
  446.     public function removeComAcuerdosCupoFondoAnticipo(ComAcuerdosCupoFondoAnticipo $comAcuerdosCupoFondoAnticipo): static
  447.     {
  448.         if ($this->comAcuerdosCupoFondoAnticipos->removeElement($comAcuerdosCupoFondoAnticipo)) {
  449.             // set the owning side to null (unless already changed)
  450.             if ($comAcuerdosCupoFondoAnticipo->getComHojaVidaAsociado() === $this) {
  451.                 $comAcuerdosCupoFondoAnticipo->setComHojaVidaAsociado(null);
  452.             }
  453.         }
  454.         return $this;
  455.     }
  456.     /**
  457.      * @return Collection<int, ComConsolidadoCupoFondoAnticipo>
  458.      */
  459.     public function getComConsolidadoCupoFondoAnticipos(): Collection
  460.     {
  461.         return $this->comConsolidadoCupoFondoAnticipos;
  462.     }
  463.     public function addComConsolidadoCupoFondoAnticipo(ComConsolidadoCupoFondoAnticipo $comConsolidadoCupoFondoAnticipo): static
  464.     {
  465.         if (!$this->comConsolidadoCupoFondoAnticipos->contains($comConsolidadoCupoFondoAnticipo)) {
  466.             $this->comConsolidadoCupoFondoAnticipos->add($comConsolidadoCupoFondoAnticipo);
  467.             $comConsolidadoCupoFondoAnticipo->setComHojaVidaAsociado($this);
  468.         }
  469.         return $this;
  470.     }
  471.     public function removeComConsolidadoCupoFondoAnticipo(ComConsolidadoCupoFondoAnticipo $comConsolidadoCupoFondoAnticipo): static
  472.     {
  473.         if ($this->comConsolidadoCupoFondoAnticipos->removeElement($comConsolidadoCupoFondoAnticipo)) {
  474.             // set the owning side to null (unless already changed)
  475.             if ($comConsolidadoCupoFondoAnticipo->getComHojaVidaAsociado() === $this) {
  476.                 $comConsolidadoCupoFondoAnticipo->setComHojaVidaAsociado(null);
  477.             }
  478.         }
  479.         return $this;
  480.     }
  481.     /**
  482.      * @return Collection<int, ComFacturacionEmpresa>
  483.      */
  484.     public function getComFacturacionEmpresas(): Collection
  485.     {
  486.         return $this->comFacturacionEmpresas;
  487.     }
  488.     public function addComFacturacionEmpresa(ComFacturacionEmpresa $comFacturacionEmpresa): static
  489.     {
  490.         if (!$this->comFacturacionEmpresas->contains($comFacturacionEmpresa)) {
  491.             $this->comFacturacionEmpresas->add($comFacturacionEmpresa);
  492.             $comFacturacionEmpresa->setComHojavidaAsociado($this);
  493.         }
  494.         return $this;
  495.     }
  496.     public function removeComFacturacionEmpresa(ComFacturacionEmpresa $comFacturacionEmpresa): static
  497.     {
  498.         if ($this->comFacturacionEmpresas->removeElement($comFacturacionEmpresa)) {
  499.             // set the owning side to null (unless already changed)
  500.             if ($comFacturacionEmpresa->getComHojavidaAsociado() === $this) {
  501.                 $comFacturacionEmpresa->setComHojavidaAsociado(null);
  502.             }
  503.         }
  504.         return $this;
  505.     }
  506.     /**
  507.      * @return Collection<int, ComIndicadores>
  508.      */
  509.     public function getComIndicadores(): Collection
  510.     {
  511.         return $this->comIndicadores;
  512.     }
  513.     public function addComIndicadore(ComIndicadores $comIndicadore): static
  514.     {
  515.         if (!$this->comIndicadores->contains($comIndicadore)) {
  516.             $this->comIndicadores->add($comIndicadore);
  517.             $comIndicadore->setComHojaVidaAsociado($this);
  518.         }
  519.         return $this;
  520.     }
  521.     public function removeComIndicadore(ComIndicadores $comIndicadore): static
  522.     {
  523.         if ($this->comIndicadores->removeElement($comIndicadore)) {
  524.             // set the owning side to null (unless already changed)
  525.             if ($comIndicadore->getComHojaVidaAsociado() === $this) {
  526.                 $comIndicadore->setComHojaVidaAsociado(null);
  527.             }
  528.         }
  529.         return $this;
  530.     }
  531.     /**
  532.      * @return Collection<int, ComEstatusOperacion>
  533.      */
  534.     public function getComEstatusOperacions(): Collection
  535.     {
  536.         return $this->comEstatusOperacions;
  537.     }
  538.     public function addComEstatusOperacion(ComEstatusOperacion $comEstatusOperacion): static
  539.     {
  540.         if (!$this->comEstatusOperacions->contains($comEstatusOperacion)) {
  541.             $this->comEstatusOperacions->add($comEstatusOperacion);
  542.             $comEstatusOperacion->setComHojaVidaAsociado($this);
  543.         }
  544.         return $this;
  545.     }
  546.     public function removeComEstatusOperacion(ComEstatusOperacion $comEstatusOperacion): static
  547.     {
  548.         if ($this->comEstatusOperacions->removeElement($comEstatusOperacion)) {
  549.             // set the owning side to null (unless already changed)
  550.             if ($comEstatusOperacion->getComHojaVidaAsociado() === $this) {
  551.                 $comEstatusOperacion->setComHojaVidaAsociado(null);
  552.             }
  553.         }
  554.         return $this;
  555.     }
  556.     /**
  557.      * @return Collection<int, ComResultadoEncuestaSatisfaccion>
  558.      */
  559.     public function getComResultadoEncuestaSatisfaccions(): Collection
  560.     {
  561.         return $this->comResultadoEncuestaSatisfaccions;
  562.     }
  563.     public function addComResultadoEncuestaSatisfaccion(ComResultadoEncuestaSatisfaccion $comResultadoEncuestaSatisfaccion): static
  564.     {
  565.         if (!$this->comResultadoEncuestaSatisfaccions->contains($comResultadoEncuestaSatisfaccion)) {
  566.             $this->comResultadoEncuestaSatisfaccions->add($comResultadoEncuestaSatisfaccion);
  567.             $comResultadoEncuestaSatisfaccion->setComHojaVidaAsociado($this);
  568.         }
  569.         return $this;
  570.     }
  571.     public function removeComResultadoEncuestaSatisfaccion(ComResultadoEncuestaSatisfaccion $comResultadoEncuestaSatisfaccion): static
  572.     {
  573.         if ($this->comResultadoEncuestaSatisfaccions->removeElement($comResultadoEncuestaSatisfaccion)) {
  574.             // set the owning side to null (unless already changed)
  575.             if ($comResultadoEncuestaSatisfaccion->getComHojaVidaAsociado() === $this) {
  576.                 $comResultadoEncuestaSatisfaccion->setComHojaVidaAsociado(null);
  577.             }
  578.         }
  579.         return $this;
  580.     }
  581.     /**
  582.      * @return Collection<int, ComComisionesTerceros>
  583.      */
  584.     public function getComComisionesTerceros(): Collection
  585.     {
  586.         return $this->comComisionesTerceros;
  587.     }
  588.     public function addComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
  589.     {
  590.         if (!$this->comComisionesTerceros->contains($comComisionesTercero)) {
  591.             $this->comComisionesTerceros->add($comComisionesTercero);
  592.             $comComisionesTercero->setComHojaVidaAsociado($this);
  593.         }
  594.         return $this;
  595.     }
  596.     public function removeComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
  597.     {
  598.         if ($this->comComisionesTerceros->removeElement($comComisionesTercero)) {
  599.             // set the owning side to null (unless already changed)
  600.             if ($comComisionesTercero->getComHojaVidaAsociado() === $this) {
  601.                 $comComisionesTercero->setComHojaVidaAsociado(null);
  602.             }
  603.         }
  604.         return $this;
  605.     }
  606.     /**
  607.      * @return Collection<int, ComDocumentosCliente>
  608.      */
  609.     public function getComDocumentosClientes(): Collection
  610.     {
  611.         return $this->comDocumentosClientes;
  612.     }
  613.     public function addComDocumentosCliente(ComDocumentosCliente $comDocumentosCliente): static
  614.     {
  615.         if (!$this->comDocumentosClientes->contains($comDocumentosCliente)) {
  616.             $this->comDocumentosClientes->add($comDocumentosCliente);
  617.             $comDocumentosCliente->setComHojaVidaAsociado($this);
  618.         }
  619.         return $this;
  620.     }
  621.     public function removeComDocumentosCliente(ComDocumentosCliente $comDocumentosCliente): static
  622.     {
  623.         if ($this->comDocumentosClientes->removeElement($comDocumentosCliente)) {
  624.             // set the owning side to null (unless already changed)
  625.             if ($comDocumentosCliente->getComHojaVidaAsociado() === $this) {
  626.                 $comDocumentosCliente->setComHojaVidaAsociado(null);
  627.             }
  628.         }
  629.         return $this;
  630.     }
  631.     /**
  632.      * @return Collection<int, ComPromesaPago>
  633.      */
  634.     public function getComPromesaPagos(): Collection
  635.     {
  636.         return $this->comPromesaPagos;
  637.     }
  638.     public function addComPromesaPago(ComPromesaPago $comPromesaPago): static
  639.     {
  640.         if (!$this->comPromesaPagos->contains($comPromesaPago)) {
  641.             $this->comPromesaPagos->add($comPromesaPago);
  642.             $comPromesaPago->setComHojaVidaAsociado($this);
  643.         }
  644.         return $this;
  645.     }
  646.     public function removeComPromesaPago(ComPromesaPago $comPromesaPago): static
  647.     {
  648.         if ($this->comPromesaPagos->removeElement($comPromesaPago)) {
  649.             // set the owning side to null (unless already changed)
  650.             if ($comPromesaPago->getComHojaVidaAsociado() === $this) {
  651.                 $comPromesaPago->setComHojaVidaAsociado(null);
  652.             }
  653.         }
  654.         return $this;
  655.     }
  656.     /**
  657.      * @return Collection<int, ComDocumentosAdicionales>
  658.      */
  659.     public function getComDocumentosAdicionales(): Collection
  660.     {
  661.         return $this->comDocumentosAdicionales;
  662.     }
  663.     public function addComDocumentosAdicionale(ComDocumentosAdicionales $comDocumentosAdicionale): static
  664.     {
  665.         if (!$this->comDocumentosAdicionales->contains($comDocumentosAdicionale)) {
  666.             $this->comDocumentosAdicionales->add($comDocumentosAdicionale);
  667.             $comDocumentosAdicionale->setComHojaVidaAsociado($this);
  668.         }
  669.         return $this;
  670.     }
  671.     public function removeComDocumentosAdicionale(ComDocumentosAdicionales $comDocumentosAdicionale): static
  672.     {
  673.         if ($this->comDocumentosAdicionales->removeElement($comDocumentosAdicionale)) {
  674.             // set the owning side to null (unless already changed)
  675.             if ($comDocumentosAdicionale->getComHojaVidaAsociado() === $this) {
  676.                 $comDocumentosAdicionale->setComHojaVidaAsociado(null);
  677.             }
  678.         }
  679.         return $this;
  680.     }
  681.     /**
  682.      * @return Collection<int, ComInformacionAdicional>
  683.      */
  684.     public function getComInformacionAdicionals(): Collection
  685.     {
  686.         return $this->comInformacionAdicionals;
  687.     }
  688.     public function addComInformacionAdicional(ComInformacionAdicional $comInformacionAdicional): static
  689.     {
  690.         if (!$this->comInformacionAdicionals->contains($comInformacionAdicional)) {
  691.             $this->comInformacionAdicionals->add($comInformacionAdicional);
  692.             $comInformacionAdicional->setComHojaVidaAsociado($this);
  693.         }
  694.         return $this;
  695.     }
  696.     public function removeComInformacionAdicional(ComInformacionAdicional $comInformacionAdicional): static
  697.     {
  698.         if ($this->comInformacionAdicionals->removeElement($comInformacionAdicional)) {
  699.             // set the owning side to null (unless already changed)
  700.             if ($comInformacionAdicional->getComHojaVidaAsociado() === $this) {
  701.                 $comInformacionAdicional->setComHojaVidaAsociado(null);
  702.             }
  703.         }
  704.         return $this;
  705.     }
  706.     /**
  707.      * @return Collection<int, ComHistoricoHojaVida>
  708.      */
  709.     public function getComHistoricoHojaVidas(): Collection
  710.     {
  711.         return $this->comHistoricoHojaVidas;
  712.     }
  713.     public function addComHistoricoHojaVida(ComHistoricoHojaVida $comHistoricoHojaVida): static
  714.     {
  715.         if (!$this->comHistoricoHojaVidas->contains($comHistoricoHojaVida)) {
  716.             $this->comHistoricoHojaVidas->add($comHistoricoHojaVida);
  717.             $comHistoricoHojaVida->setComHojaVidaAsociado($this);
  718.         }
  719.         return $this;
  720.     }
  721.     public function removeComHistoricoHojaVida(ComHistoricoHojaVida $comHistoricoHojaVida): static
  722.     {
  723.         if ($this->comHistoricoHojaVidas->removeElement($comHistoricoHojaVida)) {
  724.             // set the owning side to null (unless already changed)
  725.             if ($comHistoricoHojaVida->getComHojaVidaAsociado() === $this) {
  726.                 $comHistoricoHojaVida->setComHojaVidaAsociado(null);
  727.             }
  728.         }
  729.         return $this;
  730.     }
  731. }