<?php
namespace App\Entity;
use App\Repository\ComHojaVidaRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ComHojaVidaRepository::class)]
class ComHojaVida
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fechaCreacion = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $fechaActualizacion = null;
#[ORM\Column(nullable: true)]
private ?bool $notificarCambio = null;
#[ORM\ManyToMany(targetEntity: TerPersona::class, inversedBy: 'comHojaVidas')]
private Collection $usuariosNotificar;
#[ORM\ManyToOne(inversedBy: 'comHojaVidas')]
private ?TerEmpresaCliente $terEmpresaCliente = null;
#[ORM\ManyToMany(targetEntity: ComInformacionContacto::class, inversedBy: 'comHojaVidas')]
private Collection $comInformacionContacto;
#[ORM\ManyToOne(inversedBy: 'comHojaVidas')]
private ?ComOfertaComercial $comOfertaComercial = null;
#[ORM\ManyToOne(inversedBy: 'comHojaVidas')]
private ?ComCreacionCliente $comCreacionCliente = null;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComOperadoresComercioExterior::class)]
private Collection $comOperadoresComercioExteriors;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComProductosImportadosExportados::class)]
private Collection $comProductosImportadosExportados;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $createAt = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $updateAt = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $createUser = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $updateUser = null;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComTiempoServiciosANS::class)]
private Collection $comTiempoServiciosANS;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComCondicionesOperacion::class)]
private Collection $comCondicionesOperacions;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComCondicionesOperacionImpo::class)]
private Collection $comCondicionesOperacionImpos;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComCondicionesOperacionExpo::class)]
private Collection $comCondicionesOperacionExpos;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComCondicionesOperacionInspeccion::class)]
private Collection $comCondicionesOperacionInspeccions;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComCondicionesOperacionBodega::class)]
private Collection $comCondicionesOperacionBodegas;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComPagoDeclaraciones::class)]
private Collection $comPagoDeclaraciones;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComPagoTerceros::class)]
private Collection $comPagoTerceros;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComAcuerdosCupoFondoAnticipo::class)]
private Collection $comAcuerdosCupoFondoAnticipos;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComConsolidadoCupoFondoAnticipo::class)]
private Collection $comConsolidadoCupoFondoAnticipos;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComFacturacionEmpresa::class)]
private Collection $comFacturacionEmpresas;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComIndicadores::class)]
private Collection $comIndicadores;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComEstatusOperacion::class)]
private Collection $comEstatusOperacions;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComResultadoEncuestaSatisfaccion::class)]
private Collection $comResultadoEncuestaSatisfaccions;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComComisionesTerceros::class)]
private Collection $comComisionesTerceros;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComDocumentosSoporte::class)]
private Collection $comDocumentosSoportes;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComInformacionAdicional::class)]
private Collection $comInformacionAdicionals;
#[ORM\ManyToOne(inversedBy: 'comHojaVidas')]
private ?ParEstado $estadoCliente = null;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComIdentificacionCliente::class)]
private Collection $comIdentificacionClientes;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComMatrizContactosHojaVida::class)]
private Collection $comMatrizContactosHojaVidas;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComServiciosContratados::class)]
private Collection $comServiciosContratados;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComPoderNaviera::class)]
private Collection $comPoderNavieras;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComPromesaPago::class)]
private Collection $comPromesaPagos;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComDocumentosAdicionales::class)]
private Collection $comDocumentosAdicionales;
#[ORM\OneToMany(mappedBy: 'comHojaVida', targetEntity: ComHistoricoHojaVida::class)]
private Collection $comHistoricoHojaVidas;
public function __construct()
{
$this->usuariosNotificar = new ArrayCollection();
$this->comInformacionContacto = new ArrayCollection();
$this->comOperadoresComercioExteriors = new ArrayCollection();
$this->comProductosImportadosExportados = new ArrayCollection();
$this->comTiempoServiciosANS = new ArrayCollection();
$this->comCondicionesOperacions = new ArrayCollection();
$this->comCondicionesOperacionImpos = new ArrayCollection();
$this->comCondicionesOperacionExpos = new ArrayCollection();
$this->comCondicionesOperacionInspeccions = new ArrayCollection();
$this->comCondicionesOperacionBodegas = new ArrayCollection();
$this->comPagoDeclaraciones = new ArrayCollection();
$this->comPagoTerceros = new ArrayCollection();
$this->comAcuerdosCupoFondoAnticipos = new ArrayCollection();
$this->comConsolidadoCupoFondoAnticipos = new ArrayCollection();
$this->comFacturacionEmpresas = new ArrayCollection();
$this->comIndicadores = new ArrayCollection();
$this->comEstatusOperacions = new ArrayCollection();
$this->comResultadoEncuestaSatisfaccions = new ArrayCollection();
$this->comComisionesTerceros = new ArrayCollection();
$this->comDocumentosSoportes = new ArrayCollection();
$this->comInformacionAdicionals = new ArrayCollection();
$this->comIdentificacionClientes = new ArrayCollection();
$this->comMatrizContactosHojaVidas = new ArrayCollection();
$this->comServiciosContratados = new ArrayCollection();
$this->comPoderNavieras = new ArrayCollection();
$this->comPromesaPagos = new ArrayCollection();
$this->comDocumentosAdicionales = new ArrayCollection();
$this->comHistoricoHojaVidas = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getFechaCreacion(): ?\DateTimeInterface
{
return $this->fechaCreacion;
}
public function setFechaCreacion(\DateTimeInterface $fechaCreacion): static
{
$this->fechaCreacion = $fechaCreacion;
return $this;
}
public function getFechaActualizacion(): ?\DateTimeInterface
{
return $this->fechaActualizacion;
}
public function setFechaActualizacion(\DateTimeInterface $fechaActualizacion): static
{
$this->fechaActualizacion = $fechaActualizacion;
return $this;
}
public function isNotificarCambio(): ?bool
{
return $this->notificarCambio;
}
public function setNotificarCambio(?bool $notificarCambio): static
{
$this->notificarCambio = $notificarCambio;
return $this;
}
/**
* @return Collection<int, TerPersona>
*/
public function getUsuariosNotificar(): Collection
{
return $this->usuariosNotificar;
}
public function addUsuariosNotificar(TerPersona $usuariosNotificar): static
{
if (!$this->usuariosNotificar->contains($usuariosNotificar)) {
$this->usuariosNotificar->add($usuariosNotificar);
}
return $this;
}
public function removeUsuariosNotificar(TerPersona $usuariosNotificar): static
{
$this->usuariosNotificar->removeElement($usuariosNotificar);
return $this;
}
public function getTerEmpresaCliente(): ?TerEmpresaCliente
{
return $this->terEmpresaCliente;
}
public function setTerEmpresaCliente(?TerEmpresaCliente $terEmpresaCliente): static
{
$this->terEmpresaCliente = $terEmpresaCliente;
return $this;
}
/**
* @return Collection<int, ComInformacionContacto>
*/
public function getComInformacionContacto(): Collection
{
return $this->comInformacionContacto;
}
public function addComInformacionContacto(ComInformacionContacto $comInformacionContacto): static
{
if (!$this->comInformacionContacto->contains($comInformacionContacto)) {
$this->comInformacionContacto->add($comInformacionContacto);
}
return $this;
}
public function removeComInformacionContacto(ComInformacionContacto $comInformacionContacto): static
{
$this->comInformacionContacto->removeElement($comInformacionContacto);
return $this;
}
public function getComOfertaComercial(): ?ComOfertaComercial
{
return $this->comOfertaComercial;
}
public function setComOfertaComercial(?ComOfertaComercial $comOfertaComercial): static
{
$this->comOfertaComercial = $comOfertaComercial;
return $this;
}
public function getComCreacionCliente(): ?ComCreacionCliente
{
return $this->comCreacionCliente;
}
public function setComCreacionCliente(?ComCreacionCliente $comCreacionCliente): static
{
$this->comCreacionCliente = $comCreacionCliente;
return $this;
}
/**
* @return Collection<int, ComOperadoresComercioExterior>
*/
public function getComOperadoresComercioExteriors(): Collection
{
return $this->comOperadoresComercioExteriors;
}
public function addComOperadoresComercioExterior(ComOperadoresComercioExterior $comOperadoresComercioExterior): static
{
if (!$this->comOperadoresComercioExteriors->contains($comOperadoresComercioExterior)) {
$this->comOperadoresComercioExteriors->add($comOperadoresComercioExterior);
$comOperadoresComercioExterior->setComHojaVida($this);
}
return $this;
}
public function removeComOperadoresComercioExterior(ComOperadoresComercioExterior $comOperadoresComercioExterior): static
{
if ($this->comOperadoresComercioExteriors->removeElement($comOperadoresComercioExterior)) {
// set the owning side to null (unless already changed)
if ($comOperadoresComercioExterior->getComHojaVida() === $this) {
$comOperadoresComercioExterior->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComProductosImportadosExportados>
*/
public function getComProductosImportadosExportados(): Collection
{
return $this->comProductosImportadosExportados;
}
public function addComProductosImportadosExportado(ComProductosImportadosExportados $comProductosImportadosExportado): static
{
if (!$this->comProductosImportadosExportados->contains($comProductosImportadosExportado)) {
$this->comProductosImportadosExportados->add($comProductosImportadosExportado);
$comProductosImportadosExportado->setComHojaVida($this);
}
return $this;
}
public function removeComProductosImportadosExportado(ComProductosImportadosExportados $comProductosImportadosExportado): static
{
if ($this->comProductosImportadosExportados->removeElement($comProductosImportadosExportado)) {
// set the owning side to null (unless already changed)
if ($comProductosImportadosExportado->getComHojaVida() === $this) {
$comProductosImportadosExportado->setComHojaVida(null);
}
}
return $this;
}
public function getCreateAt(): ?\DateTimeInterface
{
return $this->createAt;
}
public function setCreateAt(?\DateTimeInterface $createAt): static
{
$this->createAt = $createAt;
return $this;
}
public function getUpdateAt(): ?\DateTimeInterface
{
return $this->updateAt;
}
public function setUpdateAt(?\DateTimeInterface $updateAt): static
{
$this->updateAt = $updateAt;
return $this;
}
public function getCreateUser(): ?string
{
return $this->createUser;
}
public function setCreateUser(?string $createUser): static
{
$this->createUser = $createUser;
return $this;
}
public function getUpdateUser(): ?string
{
return $this->updateUser;
}
public function setUpdateUser(?string $updateUser): static
{
$this->updateUser = $updateUser;
return $this;
}
/**
* @return Collection<int, ComTiempoServiciosANS>
*/
public function getComTiempoServiciosANS(): Collection
{
return $this->comTiempoServiciosANS;
}
public function addComTiempoServiciosAN(ComTiempoServiciosANS $comTiempoServiciosAN): static
{
if (!$this->comTiempoServiciosANS->contains($comTiempoServiciosAN)) {
$this->comTiempoServiciosANS->add($comTiempoServiciosAN);
$comTiempoServiciosAN->setComHojaVida($this);
}
return $this;
}
public function removeComTiempoServiciosAN(ComTiempoServiciosANS $comTiempoServiciosAN): static
{
if ($this->comTiempoServiciosANS->removeElement($comTiempoServiciosAN)) {
// set the owning side to null (unless already changed)
if ($comTiempoServiciosAN->getComHojaVida() === $this) {
$comTiempoServiciosAN->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComCondicionesOperacion>
*/
public function getComCondicionesOperacions(): Collection
{
return $this->comCondicionesOperacions;
}
public function addComCondicionesOperacion(ComCondicionesOperacion $comCondicionesOperacion): static
{
if (!$this->comCondicionesOperacions->contains($comCondicionesOperacion)) {
$this->comCondicionesOperacions->add($comCondicionesOperacion);
$comCondicionesOperacion->setComHojaVida($this);
}
return $this;
}
public function removeComCondicionesOperacion(ComCondicionesOperacion $comCondicionesOperacion): static
{
if ($this->comCondicionesOperacions->removeElement($comCondicionesOperacion)) {
// set the owning side to null (unless already changed)
if ($comCondicionesOperacion->getComHojaVida() === $this) {
$comCondicionesOperacion->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComCondicionesOperacionImpo>
*/
public function getComCondicionesOperacionImpos(): Collection
{
return $this->comCondicionesOperacionImpos;
}
public function addComCondicionesOperacionImpo(ComCondicionesOperacionImpo $comCondicionesOperacionImpo): static
{
if (!$this->comCondicionesOperacionImpos->contains($comCondicionesOperacionImpo)) {
$this->comCondicionesOperacionImpos->add($comCondicionesOperacionImpo);
$comCondicionesOperacionImpo->setComHojaVida($this);
}
return $this;
}
public function removeComCondicionesOperacionImpo(ComCondicionesOperacionImpo $comCondicionesOperacionImpo): static
{
if ($this->comCondicionesOperacionImpos->removeElement($comCondicionesOperacionImpo)) {
// set the owning side to null (unless already changed)
if ($comCondicionesOperacionImpo->getComHojaVida() === $this) {
$comCondicionesOperacionImpo->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComCondicionesOperacionExpo>
*/
public function getComCondicionesOperacionExpos(): Collection
{
return $this->comCondicionesOperacionExpos;
}
public function addComCondicionesOperacionExpo(ComCondicionesOperacionExpo $comCondicionesOperacionExpo): static
{
if (!$this->comCondicionesOperacionExpos->contains($comCondicionesOperacionExpo)) {
$this->comCondicionesOperacionExpos->add($comCondicionesOperacionExpo);
$comCondicionesOperacionExpo->setComHojaVida($this);
}
return $this;
}
public function removeComCondicionesOperacionExpo(ComCondicionesOperacionExpo $comCondicionesOperacionExpo): static
{
if ($this->comCondicionesOperacionExpos->removeElement($comCondicionesOperacionExpo)) {
// set the owning side to null (unless already changed)
if ($comCondicionesOperacionExpo->getComHojaVida() === $this) {
$comCondicionesOperacionExpo->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComCondicionesOperacionInspeccion>
*/
public function getComCondicionesOperacionInspeccions(): Collection
{
return $this->comCondicionesOperacionInspeccions;
}
public function addComCondicionesOperacionInspeccion(ComCondicionesOperacionInspeccion $comCondicionesOperacionInspeccion): static
{
if (!$this->comCondicionesOperacionInspeccions->contains($comCondicionesOperacionInspeccion)) {
$this->comCondicionesOperacionInspeccions->add($comCondicionesOperacionInspeccion);
$comCondicionesOperacionInspeccion->setComHojaVida($this);
}
return $this;
}
public function removeComCondicionesOperacionInspeccion(ComCondicionesOperacionInspeccion $comCondicionesOperacionInspeccion): static
{
if ($this->comCondicionesOperacionInspeccions->removeElement($comCondicionesOperacionInspeccion)) {
// set the owning side to null (unless already changed)
if ($comCondicionesOperacionInspeccion->getComHojaVida() === $this) {
$comCondicionesOperacionInspeccion->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComCondicionesOperacionBodega>
*/
public function getComCondicionesOperacionBodegas(): Collection
{
return $this->comCondicionesOperacionBodegas;
}
public function addComCondicionesOperacionBodega(ComCondicionesOperacionBodega $comCondicionesOperacionBodega): static
{
if (!$this->comCondicionesOperacionBodegas->contains($comCondicionesOperacionBodega)) {
$this->comCondicionesOperacionBodegas->add($comCondicionesOperacionBodega);
$comCondicionesOperacionBodega->setComHojaVida($this);
}
return $this;
}
public function removeComCondicionesOperacionBodega(ComCondicionesOperacionBodega $comCondicionesOperacionBodega): static
{
if ($this->comCondicionesOperacionBodegas->removeElement($comCondicionesOperacionBodega)) {
// set the owning side to null (unless already changed)
if ($comCondicionesOperacionBodega->getComHojaVida() === $this) {
$comCondicionesOperacionBodega->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComPagoDeclaraciones>
*/
public function getComPagoDeclaraciones(): Collection
{
return $this->comPagoDeclaraciones;
}
public function addComPagoDeclaracione(ComPagoDeclaraciones $comPagoDeclaracione): static
{
if (!$this->comPagoDeclaraciones->contains($comPagoDeclaracione)) {
$this->comPagoDeclaraciones->add($comPagoDeclaracione);
$comPagoDeclaracione->setComHojaVida($this);
}
return $this;
}
public function removeComPagoDeclaracione(ComPagoDeclaraciones $comPagoDeclaracione): static
{
if ($this->comPagoDeclaraciones->removeElement($comPagoDeclaracione)) {
// set the owning side to null (unless already changed)
if ($comPagoDeclaracione->getComHojaVida() === $this) {
$comPagoDeclaracione->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComPagoTerceros>
*/
public function getComPagoTerceros(): Collection
{
return $this->comPagoTerceros;
}
public function addComPagoTercero(ComPagoTerceros $comPagoTercero): static
{
if (!$this->comPagoTerceros->contains($comPagoTercero)) {
$this->comPagoTerceros->add($comPagoTercero);
$comPagoTercero->setComHojaVida($this);
}
return $this;
}
public function removeComPagoTercero(ComPagoTerceros $comPagoTercero): static
{
if ($this->comPagoTerceros->removeElement($comPagoTercero)) {
// set the owning side to null (unless already changed)
if ($comPagoTercero->getComHojaVida() === $this) {
$comPagoTercero->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComAcuerdosCupoFondoAnticipo>
*/
public function getComAcuerdosCupoFondoAnticipos(): Collection
{
return $this->comAcuerdosCupoFondoAnticipos;
}
public function addComAcuerdosCupoFondoAnticipo(ComAcuerdosCupoFondoAnticipo $comAcuerdosCupoFondoAnticipo): static
{
if (!$this->comAcuerdosCupoFondoAnticipos->contains($comAcuerdosCupoFondoAnticipo)) {
$this->comAcuerdosCupoFondoAnticipos->add($comAcuerdosCupoFondoAnticipo);
$comAcuerdosCupoFondoAnticipo->setComHojaVida($this);
}
return $this;
}
public function removeComAcuerdosCupoFondoAnticipo(ComAcuerdosCupoFondoAnticipo $comAcuerdosCupoFondoAnticipo): static
{
if ($this->comAcuerdosCupoFondoAnticipos->removeElement($comAcuerdosCupoFondoAnticipo)) {
// set the owning side to null (unless already changed)
if ($comAcuerdosCupoFondoAnticipo->getComHojaVida() === $this) {
$comAcuerdosCupoFondoAnticipo->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComConsolidadoCupoFondoAnticipo>
*/
public function getComConsolidadoCupoFondoAnticipos(): Collection
{
return $this->comConsolidadoCupoFondoAnticipos;
}
public function addComConsolidadoCupoFondoAnticipo(ComConsolidadoCupoFondoAnticipo $comConsolidadoCupoFondoAnticipo): static
{
if (!$this->comConsolidadoCupoFondoAnticipos->contains($comConsolidadoCupoFondoAnticipo)) {
$this->comConsolidadoCupoFondoAnticipos->add($comConsolidadoCupoFondoAnticipo);
$comConsolidadoCupoFondoAnticipo->setComHojaVida($this);
}
return $this;
}
public function removeComConsolidadoCupoFondoAnticipo(ComConsolidadoCupoFondoAnticipo $comConsolidadoCupoFondoAnticipo): static
{
if ($this->comConsolidadoCupoFondoAnticipos->removeElement($comConsolidadoCupoFondoAnticipo)) {
// set the owning side to null (unless already changed)
if ($comConsolidadoCupoFondoAnticipo->getComHojaVida() === $this) {
$comConsolidadoCupoFondoAnticipo->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComFacturacionEmpresa>
*/
public function getComFacturacionEmpresas(): Collection
{
return $this->comFacturacionEmpresas;
}
public function addComFacturacionEmpresa(ComFacturacionEmpresa $comFacturacionEmpresa): static
{
if (!$this->comFacturacionEmpresas->contains($comFacturacionEmpresa)) {
$this->comFacturacionEmpresas->add($comFacturacionEmpresa);
$comFacturacionEmpresa->setComHojaVida($this);
}
return $this;
}
public function removeComFacturacionEmpresa(ComFacturacionEmpresa $comFacturacionEmpresa): static
{
if ($this->comFacturacionEmpresas->removeElement($comFacturacionEmpresa)) {
// set the owning side to null (unless already changed)
if ($comFacturacionEmpresa->getComHojaVida() === $this) {
$comFacturacionEmpresa->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComIndicadores>
*/
public function getComIndicadores(): Collection
{
return $this->comIndicadores;
}
public function addComIndicadore(ComIndicadores $comIndicadore): static
{
if (!$this->comIndicadores->contains($comIndicadore)) {
$this->comIndicadores->add($comIndicadore);
$comIndicadore->setComHojaVida($this);
}
return $this;
}
public function removeComIndicadore(ComIndicadores $comIndicadore): static
{
if ($this->comIndicadores->removeElement($comIndicadore)) {
// set the owning side to null (unless already changed)
if ($comIndicadore->getComHojaVida() === $this) {
$comIndicadore->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComEstatusOperacion>
*/
public function getComEstatusOperacions(): Collection
{
return $this->comEstatusOperacions;
}
public function addComEstatusOperacion(ComEstatusOperacion $comEstatusOperacion): static
{
if (!$this->comEstatusOperacions->contains($comEstatusOperacion)) {
$this->comEstatusOperacions->add($comEstatusOperacion);
$comEstatusOperacion->setComHojaVida($this);
}
return $this;
}
public function removeComEstatusOperacion(ComEstatusOperacion $comEstatusOperacion): static
{
if ($this->comEstatusOperacions->removeElement($comEstatusOperacion)) {
// set the owning side to null (unless already changed)
if ($comEstatusOperacion->getComHojaVida() === $this) {
$comEstatusOperacion->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComResultadoEncuestaSatisfaccion>
*/
public function getComResultadoEncuestaSatisfaccions(): Collection
{
return $this->comResultadoEncuestaSatisfaccions;
}
public function addComResultadoEncuestaSatisfaccion(ComResultadoEncuestaSatisfaccion $comResultadoEncuestaSatisfaccion): static
{
if (!$this->comResultadoEncuestaSatisfaccions->contains($comResultadoEncuestaSatisfaccion)) {
$this->comResultadoEncuestaSatisfaccions->add($comResultadoEncuestaSatisfaccion);
$comResultadoEncuestaSatisfaccion->setComHojaVida($this);
}
return $this;
}
public function removeComResultadoEncuestaSatisfaccion(ComResultadoEncuestaSatisfaccion $comResultadoEncuestaSatisfaccion): static
{
if ($this->comResultadoEncuestaSatisfaccions->removeElement($comResultadoEncuestaSatisfaccion)) {
// set the owning side to null (unless already changed)
if ($comResultadoEncuestaSatisfaccion->getComHojaVida() === $this) {
$comResultadoEncuestaSatisfaccion->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComComisionesTerceros>
*/
public function getComComisionesTerceros(): Collection
{
return $this->comComisionesTerceros;
}
public function addComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
{
if (!$this->comComisionesTerceros->contains($comComisionesTercero)) {
$this->comComisionesTerceros->add($comComisionesTercero);
$comComisionesTercero->setComHojaVida($this);
}
return $this;
}
public function removeComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
{
if ($this->comComisionesTerceros->removeElement($comComisionesTercero)) {
// set the owning side to null (unless already changed)
if ($comComisionesTercero->getComHojaVida() === $this) {
$comComisionesTercero->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComDocumentosSoporte>
*/
public function getComDocumentosSoportes(): Collection
{
return $this->comDocumentosSoportes;
}
public function addComDocumentosSoporte(ComDocumentosSoporte $comDocumentosSoporte): static
{
if (!$this->comDocumentosSoportes->contains($comDocumentosSoporte)) {
$this->comDocumentosSoportes->add($comDocumentosSoporte);
$comDocumentosSoporte->setComHojaVida($this);
}
return $this;
}
public function removeComDocumentosSoporte(ComDocumentosSoporte $comDocumentosSoporte): static
{
if ($this->comDocumentosSoportes->removeElement($comDocumentosSoporte)) {
// set the owning side to null (unless already changed)
if ($comDocumentosSoporte->getComHojaVida() === $this) {
$comDocumentosSoporte->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComInformacionAdicional>
*/
public function getComInformacionAdicionals(): Collection
{
return $this->comInformacionAdicionals;
}
public function addComInformacionAdicional(ComInformacionAdicional $comInformacionAdicional): static
{
if (!$this->comInformacionAdicionals->contains($comInformacionAdicional)) {
$this->comInformacionAdicionals->add($comInformacionAdicional);
$comInformacionAdicional->setComHojaVida($this);
}
return $this;
}
public function removeComInformacionAdicional(ComInformacionAdicional $comInformacionAdicional): static
{
if ($this->comInformacionAdicionals->removeElement($comInformacionAdicional)) {
// set the owning side to null (unless already changed)
if ($comInformacionAdicional->getComHojaVida() === $this) {
$comInformacionAdicional->setComHojaVida(null);
}
}
return $this;
}
public function getEstadoCliente(): ?ParEstado
{
return $this->estadoCliente;
}
public function setEstadoCliente(?ParEstado $estadoCliente): static
{
$this->estadoCliente = $estadoCliente;
return $this;
}
/**
* @return Collection<int, ComIdentificacionCliente>
*/
public function getComIdentificacionClientes(): Collection
{
return $this->comIdentificacionClientes;
}
public function addComIdentificacionCliente(ComIdentificacionCliente $comIdentificacionCliente): static
{
if (!$this->comIdentificacionClientes->contains($comIdentificacionCliente)) {
$this->comIdentificacionClientes->add($comIdentificacionCliente);
$comIdentificacionCliente->setComHojaVida($this);
}
return $this;
}
public function removeComIdentificacionCliente(ComIdentificacionCliente $comIdentificacionCliente): static
{
if ($this->comIdentificacionClientes->removeElement($comIdentificacionCliente)) {
// set the owning side to null (unless already changed)
if ($comIdentificacionCliente->getComHojaVida() === $this) {
$comIdentificacionCliente->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComMatrizContactosHojaVida>
*/
public function getComMatrizContactosHojaVidas(): Collection
{
return $this->comMatrizContactosHojaVidas;
}
public function addComMatrizContactosHojaVida(ComMatrizContactosHojaVida $comMatrizContactosHojaVida): static
{
if (!$this->comMatrizContactosHojaVidas->contains($comMatrizContactosHojaVida)) {
$this->comMatrizContactosHojaVidas->add($comMatrizContactosHojaVida);
$comMatrizContactosHojaVida->setComHojaVida($this);
}
return $this;
}
public function removeComMatrizContactosHojaVida(ComMatrizContactosHojaVida $comMatrizContactosHojaVida): static
{
if ($this->comMatrizContactosHojaVidas->removeElement($comMatrizContactosHojaVida)) {
// set the owning side to null (unless already changed)
if ($comMatrizContactosHojaVida->getComHojaVida() === $this) {
$comMatrizContactosHojaVida->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComServiciosContratados>
*/
public function getComServiciosContratados(): Collection
{
return $this->comServiciosContratados;
}
public function addComServiciosContratado(ComServiciosContratados $comServiciosContratado): static
{
if (!$this->comServiciosContratados->contains($comServiciosContratado)) {
$this->comServiciosContratados->add($comServiciosContratado);
$comServiciosContratado->setComHojaVida($this);
}
return $this;
}
public function removeComServiciosContratado(ComServiciosContratados $comServiciosContratado): static
{
if ($this->comServiciosContratados->removeElement($comServiciosContratado)) {
// set the owning side to null (unless already changed)
if ($comServiciosContratado->getComHojaVida() === $this) {
$comServiciosContratado->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComPoderNaviera>
*/
public function getComPoderNavieras(): Collection
{
return $this->comPoderNavieras;
}
public function addComPoderNaviera(ComPoderNaviera $comPoderNaviera): static
{
if (!$this->comPoderNavieras->contains($comPoderNaviera)) {
$this->comPoderNavieras->add($comPoderNaviera);
$comPoderNaviera->setComHojaVida($this);
}
return $this;
}
public function removeComPoderNaviera(ComPoderNaviera $comPoderNaviera): static
{
if ($this->comPoderNavieras->removeElement($comPoderNaviera)) {
// set the owning side to null (unless already changed)
if ($comPoderNaviera->getComHojaVida() === $this) {
$comPoderNaviera->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComPromesaPago>
*/
public function getComPromesaPagos(): Collection
{
return $this->comPromesaPagos;
}
public function addComPromesaPago(ComPromesaPago $comPromesaPago): static
{
if (!$this->comPromesaPagos->contains($comPromesaPago)) {
$this->comPromesaPagos->add($comPromesaPago);
$comPromesaPago->setComHojaVida($this);
}
return $this;
}
public function removeComPromesaPago(ComPromesaPago $comPromesaPago): static
{
if ($this->comPromesaPagos->removeElement($comPromesaPago)) {
// set the owning side to null (unless already changed)
if ($comPromesaPago->getComHojaVida() === $this) {
$comPromesaPago->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComDocumentosAdicionales>
*/
public function getComDocumentosAdicionales(): Collection
{
return $this->comDocumentosAdicionales;
}
public function addComDocumentosAdicionale(ComDocumentosAdicionales $comDocumentosAdicionale): static
{
if (!$this->comDocumentosAdicionales->contains($comDocumentosAdicionale)) {
$this->comDocumentosAdicionales->add($comDocumentosAdicionale);
$comDocumentosAdicionale->setComHojaVida($this);
}
return $this;
}
public function removeComDocumentosAdicionale(ComDocumentosAdicionales $comDocumentosAdicionale): static
{
if ($this->comDocumentosAdicionales->removeElement($comDocumentosAdicionale)) {
// set the owning side to null (unless already changed)
if ($comDocumentosAdicionale->getComHojaVida() === $this) {
$comDocumentosAdicionale->setComHojaVida(null);
}
}
return $this;
}
/**
* @return Collection<int, ComHistoricoHojaVida>
*/
public function getComHistoricoHojaVidas(): Collection
{
return $this->comHistoricoHojaVidas;
}
public function addComHistoricoHojaVida(ComHistoricoHojaVida $comHistoricoHojaVida): static
{
if (!$this->comHistoricoHojaVidas->contains($comHistoricoHojaVida)) {
$this->comHistoricoHojaVidas->add($comHistoricoHojaVida);
$comHistoricoHojaVida->setComHojaVida($this);
}
return $this;
}
public function removeComHistoricoHojaVida(ComHistoricoHojaVida $comHistoricoHojaVida): static
{
if ($this->comHistoricoHojaVidas->removeElement($comHistoricoHojaVida)) {
// set the owning side to null (unless already changed)
if ($comHistoricoHojaVida->getComHojaVida() === $this) {
$comHistoricoHojaVida->setComHojaVida(null);
}
}
return $this;
}
}