src/Entity/TerEmpresa.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TerEmpresaRepository;
  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(repositoryClassTerEmpresaRepository::class)]
  9. class TerEmpresa {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToMany(targetEntityGHPerfilCargo::class, mappedBy'empresaFilial')]
  15.     private Collection $perfilCargo;
  16.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityGHVacante::class)]
  17.     private Collection $vacante;
  18.     #[ORM\Column(length100)]
  19.     private ?string $nombre null;
  20.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityGHSolicitudDotacion::class)]
  21.     private Collection $solicitudDotacion;
  22.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityGHContrato::class)]
  23.     private Collection $contrato;
  24.     #[ORM\Column(length255)]
  25.     private ?string $direccion null;
  26.     #[ORM\Column(length255)]
  27.     private ?string $telefono null;
  28.     #[ORM\Column(length100)]
  29.     private ?string $correo null;
  30.     #[ORM\Column(length255)]
  31.     private ?string $logo null;
  32.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  33.     private ?\DateTimeInterface $createAt null;
  34.     #[ORM\Column(length50)]
  35.     private ?string $createUser null;
  36.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  37.     private ?\DateTimeInterface $updateAt null;
  38.     #[ORM\Column(length50)]
  39.     private ?string $updateUser null;
  40.     #[ORM\Column(length50)]
  41.     private ?string $nit null;
  42.     #[ORM\Column]
  43.     private ?int $digitoVerificacion null;
  44.     #[ORM\Column(length255)]
  45.     private ?string $representanteLegal null;
  46.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityJurProceso::class)]
  47.     private Collection $proceso;
  48.     #[ORM\OneToMany(mappedBy'empresa'targetEntityGHCambioContrato::class)]
  49.     private Collection $cambioContrato;
  50.     #[ORM\OneToMany(mappedBy'entidadProductora'targetEntityRFTablaRetencion::class)]
  51.     private Collection $tablaRetencion;
  52.     #[ORM\OneToMany(mappedBy'entidadProductora'targetEntityRFFUID::class)]
  53.     private Collection $FUID;
  54.     #[ORM\OneToMany(mappedBy'empresa'targetEntityRFInventarioDocumentalGesHum::class)]
  55.     private Collection $inventarioDocumentalGesHum;
  56.     #[ORM\OneToMany(mappedBy'empresa'targetEntityRFInventarioDocumentalSST::class)]
  57.     private Collection $inventarioDocumentalSST;
  58.     #[ORM\OneToMany(mappedBy'empresa'targetEntityJurOperacionSospechosa::class)]
  59.     private Collection $operacionesSospechosas;
  60.     #[ManyToMany(targetEntityGHPerfilCargo::class, mappedBy'empresaServicios')]
  61.     private Collection $perfilCargoServicios;
  62.     #[ORM\Column(length20nullabletrue)]
  63.     private ?string $abreviatura null;
  64.     #[ORM\ManyToMany(targetEntityTerSedeEmpresa::class, mappedBy'empresaFilial')]
  65.     private Collection $sedeEmpresa;
  66.     #[ORM\OneToMany(mappedBy'empresa'targetEntityGHMatrizEntrenamiento::class)]
  67.     private Collection $matrizEntrenamientos;
  68.     #[ORM\ManyToMany(targetEntityJurRegistroCumplimiento::class, mappedBy'empresa')]
  69.     private Collection $registroCumplimiento;
  70.     #[ORM\ManyToMany(targetEntityTerProveedor::class, mappedBy'empresaFilial')]
  71.     private Collection $proveedor;
  72.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFInventarioActivos::class)]
  73.     private Collection $inventarioActivos;
  74.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFPrecinto::class)]
  75.     private Collection $precintos;
  76.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFPrecintoSolicitud::class)]
  77.     private Collection $rFPrecintoSolicituds;
  78.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFPrecintoAsignacion::class)]
  79.     private Collection $precintoAsignacion;
  80.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFSolicitudCompra::class)]
  81.     private Collection $solicitudCompras;
  82.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFOrdenCompra::class)]
  83.     private Collection $ordenesCompra;
  84.     #[ORM\OneToMany(mappedBy'empresaFilial'targetEntityRFRembolsoCajaMenor::class)]
  85.     private Collection $rembolsosCajaMenor;
  86.     #[ORM\OneToMany(mappedBy'serviciosInteres'targetEntityComProspecto::class)]
  87.     private Collection $comServiciosInteres;
  88.     #[ORM\OneToMany(mappedBy'terEmpresa'targetEntityComOfertaComercial::class)]
  89.     private Collection $comOfertaComerciales;
  90.     #[ORM\ManyToMany(targetEntityComProspecto::class, mappedBy'serviciosInteres')]
  91.     private Collection $comProspectosTerEmpresa;
  92.     #[ORM\ManyToMany(targetEntityTerEmpresaCliente::class, mappedBy'servicioInteres')]
  93.     private Collection $terEmpresaClientes;
  94.     #[ORM\ManyToMany(targetEntityTerEmpresaCliente::class, mappedBy'serviciosInteres')]
  95.     private Collection $terEmpresaCliente;
  96.     #[ORM\OneToMany(mappedBy'terEmpresa'targetEntityComComisionesTerceros::class)]
  97.     private Collection $comComisionesTerceros;
  98.     #[ORM\ManyToMany(targetEntityComCircular170YPoderes::class, mappedBy'empresaPrestadoraServicio')]
  99.     private Collection $comCircular170YPoderes;
  100.     #[ORM\OneToMany(mappedBy'terEmpresa'targetEntityComArchivoPlano::class)]
  101.     private Collection $comArchivoPlanos;
  102.     #[ORM\OneToMany(mappedBy'empresa'targetEntityComEncuestaSactisfaccion::class)]
  103.     private Collection $comEncuestaSactisfaccions;
  104.     #[ORM\OneToMany(mappedBy'empresa'targetEntityTerPersona::class)]
  105.     private Collection $terPersonas;
  106.     public function __construct() {
  107.         
  108.         $this->perfilCargo = new ArrayCollection();
  109.         $this->vacante = new ArrayCollection();
  110.         $this->solicitudDotacion = new ArrayCollection();
  111.         $this->contrato = new ArrayCollection();
  112.         $this->proceso = new ArrayCollection();
  113.         $this->cambioContrato = new ArrayCollection();
  114.         $this->tablaRetencion = new ArrayCollection();
  115.         $this->FUID = new ArrayCollection();
  116.         $this->inventarioDocumentalGesHum = new ArrayCollection();
  117.         $this->inventarioDocumentalSST = new ArrayCollection();
  118.         $this->operacionesSospechosas = new ArrayCollection();
  119.         $this->perfilCargoServicios = new ArrayCollection();
  120.         $this->sedeEmpresa = new ArrayCollection();
  121.         $this->matrizEntrenamientos = new ArrayCollection();
  122.         $this->registroCumplimiento = new ArrayCollection();
  123.         $this->proveedor = new ArrayCollection();
  124.         $this->inventarioActivos = new ArrayCollection();
  125.         $this->precintos = new ArrayCollection();
  126.         $this->rFPrecintoSolicituds = new ArrayCollection();
  127.         $this->precintoAsignacion = new ArrayCollection();
  128.         $this->solicitudCompras = new ArrayCollection();
  129.         $this->ordenesCompra = new ArrayCollection();
  130.         $this->rembolsosCajaMenor = new ArrayCollection();
  131.         $this->comProspectosTerEmpresa = new ArrayCollection();
  132.         $this->terEmpresaClientes = new ArrayCollection();
  133.         $this->terEmpresaCliente = new ArrayCollection();
  134.         $this->comComisionesTerceros = new ArrayCollection();
  135.         $this->comCircular170YPoderes = new ArrayCollection();
  136.         $this->comEncuestaSactisfaccions = new ArrayCollection();
  137.         $this->comArchivoPlanos = new ArrayCollection();
  138.         $this->terPersonas = new ArrayCollection();
  139.     }
  140.     public function __toString() {
  141.         $nombre $this->getAbreviatura() . ' - ' $this->getNombre();
  142.         return $nombre;
  143.     }
  144.     public function getId(): ?int {
  145.         return $this->id;
  146.     }
  147.   
  148.     /**
  149.      * @return Collection<int, GHPerfilCargo>
  150.      */
  151.     public function getPerfilCargo(): Collection {
  152.         return $this->perfilCargo;
  153.     }
  154.     public function addPerfilCargo(GHPerfilCargo $perfilCargo): static {
  155.         if (!$this->perfilCargo->contains($perfilCargo)) {
  156.             $this->perfilCargo->add($perfilCargo);
  157.         }
  158.         return $this;
  159.     }
  160.     public function removePerfilCargo(GHPerfilCargo $perfilCargo): static {
  161.         $this->perfilCargo->removeElement($perfilCargo);
  162.         return $this;
  163.     }
  164.     /**
  165.      * @return Collection<int, GHVacante>
  166.      */
  167.     public function getVacante(): Collection {
  168.         return $this->vacante;
  169.     }
  170.     public function addVacante(GHVacante $vacante): static {
  171.         if (!$this->vacante->contains($vacante)) {
  172.             $this->vacante->add($vacante);
  173.             $vacante->setEmpresaFilial($this);
  174.         }
  175.         return $this;
  176.     }
  177.     public function removeVacante(GHVacante $vacante): static {
  178.         if ($this->vacante->removeElement($vacante)) {
  179.             // set the owning side to null (unless already changed)
  180.             if ($vacante->getEmpresaFilial() === $this) {
  181.                 $vacante->setEmpresaFilial(null);
  182.             }
  183.         }
  184.         return $this;
  185.     }
  186.     public function getNombre(): ?string {
  187.         return $this->nombre;
  188.     }
  189.     public function setNombre(string $nombre): static {
  190.         $this->nombre $nombre;
  191.         return $this;
  192.     }
  193.     /**
  194.      * @return Collection<int, GHSolicitudDotacion>
  195.      */
  196.     public function getSolicitudDotacion(): Collection {
  197.         return $this->solicitudDotacion;
  198.     }
  199.     public function addSolicitudDotacion(GHSolicitudDotacion $solicitudDotacion): static {
  200.         if (!$this->solicitudDotacion->contains($solicitudDotacion)) {
  201.             $this->solicitudDotacion->add($solicitudDotacion);
  202.             $solicitudDotacion->setEmpresaFilial($this);
  203.         }
  204.         return $this;
  205.     }
  206.     public function removeIdSolicitudDotacion(GHSolicitudDotacion $solicitudDotacion): static {
  207.         if ($this->solicitudDotacion->removeElement($solicitudDotacion)) {
  208.             // set the owning side to null (unless already changed)
  209.             if ($solicitudDotacion->getEmpresaFilial() === $this) {
  210.                 $solicitudDotacion->setEmpresaFilial(null);
  211.             }
  212.         }
  213.         return $this;
  214.     }
  215.     /**
  216.      * @return Collection<int, GHContrato>
  217.      */
  218.     public function getContrato(): Collection {
  219.         return $this->contrato;
  220.     }
  221.     public function addContrato(GHContrato $contrato): static {
  222.         if (!$this->contrato->contains($contrato)) {
  223.             $this->contrato->add($contrato);
  224.             $contrato->setEmpresaFilial($this);
  225.         }
  226.         return $this;
  227.     }
  228.     public function removeContrato(GHContrato $contrato): static {
  229.         if ($this->contrato->removeElement($contrato)) {
  230.             // set the owning side to null (unless already changed)
  231.             if ($contrato->getEmpresaFilial() === $this) {
  232.                 $contrato->setEmpresaFilial(null);
  233.             }
  234.         }
  235.         return $this;
  236.     }
  237.     public function getDireccion(): ?string {
  238.         return $this->direccion;
  239.     }
  240.     public function setDireccion(string $direccion): static {
  241.         $this->direccion $direccion;
  242.         return $this;
  243.     }
  244.     public function getTelefono(): ?string {
  245.         return $this->telefono;
  246.     }
  247.     public function setTelefono(string $telefono): static {
  248.         $this->telefono $telefono;
  249.         return $this;
  250.     }
  251.     public function getCorreo(): ?string {
  252.         return $this->correo;
  253.     }
  254.     public function setCorreo(string $correo): static {
  255.         $this->correo $correo;
  256.         return $this;
  257.     }
  258.     public function getLogo(): ?string {
  259.         return $this->logo;
  260.     }
  261.     public function setLogo(string $logo): static {
  262.         $this->logo $logo;
  263.         return $this;
  264.     }
  265.     public function getCreateAt(): ?\DateTimeInterface {
  266.         return $this->createAt;
  267.     }
  268.     public function setCreateAt(\DateTimeInterface $createAt): static {
  269.         $this->createAt $createAt;
  270.         return $this;
  271.     }
  272.     public function getCreateUser(): ?string {
  273.         return $this->createUser;
  274.     }
  275.     public function setCreateUser(string $createUser): static {
  276.         $this->createUser $createUser;
  277.         return $this;
  278.     }
  279.     public function getUpdateAt(): ?\DateTimeInterface {
  280.         return $this->updateAt;
  281.     }
  282.     public function setUpdateAt(\DateTimeInterface $updateAt): static {
  283.         $this->updateAt $updateAt;
  284.         return $this;
  285.     }
  286.     public function getUpdateUser(): ?string {
  287.         return $this->updateUser;
  288.     }
  289.     public function setUpdateUser(string $updateUser): static {
  290.         $this->updateUser $updateUser;
  291.         return $this;
  292.     }
  293.     public function getNit(): ?string {
  294.         return $this->nit;
  295.     }
  296.     public function setNit(string $nit): static {
  297.         $this->nit $nit;
  298.         return $this;
  299.     }
  300.     public function getDigitoVerificacion(): ?int {
  301.         return $this->digitoVerificacion;
  302.     }
  303.     public function setDigitoVerificacion(int $digitoVerificacion): static {
  304.         $this->digitoVerificacion $digitoVerificacion;
  305.         return $this;
  306.     }
  307.     public function getRepresentanteLegal(): ?string {
  308.         return $this->representanteLegal;
  309.     }
  310.     public function setRepresentanteLegal(string $representanteLegal): static {
  311.         $this->representanteLegal $representanteLegal;
  312.         return $this;
  313.     }
  314.     /**
  315.      * @return Collection<int, JurProceso>
  316.      */
  317.     public function getProceso(): Collection {
  318.         return $this->proceso;
  319.     }
  320.     public function addProceso(JurProceso $proceso): static {
  321.         if (!$this->proceso->contains($proceso)) {
  322.             $this->proceso->add($proceso);
  323.             $proceso->setEmpresaFilial($this);
  324.         }
  325.         return $this;
  326.     }
  327.     public function removeProceso(JurProceso $proceso): static {
  328.         if ($this->proceso->removeElement($proceso)) {
  329.             // set the owning side to null (unless already changed)
  330.             if ($proceso->getEmpresaFilial() === $this) {
  331.                 $proceso->setEmpresaFilial(null);
  332.             }
  333.         }
  334.         return $this;
  335.     }
  336.     /**
  337.      * @return Collection<int, GHCambioContrato>
  338.      */
  339.     public function getCambioContrato(): Collection {
  340.         return $this->cambioContrato;
  341.     }
  342.     public function addCambioContrato(GHCambioContrato $cambioContrato): static {
  343.         if (!$this->cambioContrato->contains($cambioContrato)) {
  344.             $this->cambioContrato->add($cambioContrato);
  345.             $cambioContrato->setEmpresa($this);
  346.         }
  347.         return $this;
  348.     }
  349.     public function removeCambioContrato(GHCambioContrato $cambioContrato): static {
  350.         if ($this->cambioContrato->removeElement($cambioContrato)) {
  351.             // set the owning side to null (unless already changed)
  352.             if ($cambioContrato->getEmpresa() === $this) {
  353.                 $cambioContrato->setEmpresa(null);
  354.             }
  355.         }
  356.         return $this;
  357.     }
  358.     /**
  359.      * @return Collection<int, RFTablaRetencion>
  360.      */
  361.     public function getTablaRetencion(): Collection {
  362.         return $this->tablaRetencion;
  363.     }
  364.     public function addTablaRetencion(RFTablaRetencion $tablaRetencion): static {
  365.         if (!$this->tablaRetencion->contains($tablaRetencion)) {
  366.             $this->tablaRetencion->add($tablaRetencion);
  367.             $tablaRetencion->setEntidadProductora($this);
  368.         }
  369.         return $this;
  370.     }
  371.     public function removeTablaRetencion(RFTablaRetencion $tablaRetencion): static {
  372.         if ($this->tablaRetencion->removeElement($tablaRetencion)) {
  373.             // set the owning side to null (unless already changed)
  374.             if ($tablaRetencion->getEntidadProductora() === $this) {
  375.                 $tablaRetencion->setEntidadProductora(null);
  376.             }
  377.         }
  378.         return $this;
  379.     }
  380.     /**
  381.      * @return Collection<int, RFFUID>
  382.      */
  383.     public function getFUID(): Collection {
  384.         return $this->FUID;
  385.     }
  386.     public function addFUID(RFFUID $fUID): static {
  387.         if (!$this->FUID->contains($fUID)) {
  388.             $this->FUID->add($fUID);
  389.             $fUID->setEntidadProductora($this);
  390.         }
  391.         return $this;
  392.     }
  393.     public function removeFUID(RFFUID $fUID): static {
  394.         if ($this->FUID->removeElement($fUID)) {
  395.             // set the owning side to null (unless already changed)
  396.             if ($fUID->getEntidadProductora() === $this) {
  397.                 $fUID->setEntidadProductora(null);
  398.             }
  399.         }
  400.         return $this;
  401.     }
  402.     /**
  403.      * @return Collection<int, RFInventarioDocumentalGesHum>
  404.      */
  405.     public function getInventarioDocumentalGesHum(): Collection {
  406.         return $this->inventarioDocumentalGesHum;
  407.     }
  408.     public function addInventarioDocumentalGesHum(RFInventarioDocumentalGesHum $inventarioDocumentalGesHum): static {
  409.         if (!$this->inventarioDocumentalGesHum->contains($inventarioDocumentalGesHum)) {
  410.             $this->inventarioDocumentalGesHum->add($inventarioDocumentalGesHum);
  411.             $inventarioDocumentalGesHum->setEmpresa($this);
  412.         }
  413.         return $this;
  414.     }
  415.     public function removeInventarioDocumentalGesHum(RFInventarioDocumentalGesHum $inventarioDocumentalGesHum): static {
  416.         if ($this->inventarioDocumentalGesHum->removeElement($inventarioDocumentalGesHum)) {
  417.             // set the owning side to null (unless already changed)
  418.             if ($inventarioDocumentalGesHum->getEmpresa() === $this) {
  419.                 $inventarioDocumentalGesHum->setEmpresa(null);
  420.             }
  421.         }
  422.         return $this;
  423.     }
  424.     /**
  425.      * @return Collection<int, RFInventarioDocumentalSST>
  426.      */
  427.     public function getInventarioDocumentalSST(): Collection {
  428.         return $this->inventarioDocumentalSST;
  429.     }
  430.     public function addInventarioDocumentalSST(RFInventarioDocumentalSST $inventarioDocumentalSST): static {
  431.         if (!$this->inventarioDocumentalSST->contains($inventarioDocumentalSST)) {
  432.             $this->inventarioDocumentalSST->add($inventarioDocumentalSST);
  433.             $inventarioDocumentalSST->setEmpresa($this);
  434.         }
  435.         return $this;
  436.     }
  437.     public function removeInventarioDocumentalSST(RFInventarioDocumentalSST $inventarioDocumentalSST): static {
  438.         if ($this->inventarioDocumentalSST->removeElement($inventarioDocumentalSST)) {
  439.             // set the owning side to null (unless already changed)
  440.             if ($inventarioDocumentalSST->getEmpresa() === $this) {
  441.                 $inventarioDocumentalSST->setEmpresa(null);
  442.             }
  443.         }
  444.         return $this;
  445.     }
  446.     /**
  447.      * @return Collection<int, JurOperacionSospechosa>
  448.      */
  449.     public function getOperacionesSospechosas(): Collection {
  450.         return $this->operacionesSospechosas;
  451.     }
  452.     public function addOperacionesSospechosa(JurOperacionSospechosa $operacionesSospechosa): static {
  453.         if (!$this->operacionesSospechosas->contains($operacionesSospechosa)) {
  454.             $this->operacionesSospechosas->add($operacionesSospechosa);
  455.             $operacionesSospechosa->setEmpresa($this);
  456.         }
  457.         return $this;
  458.     }
  459.     public function removeOperacionesSospechosa(JurOperacionSospechosa $operacionesSospechosa): static {
  460.         if ($this->operacionesSospechosas->removeElement($operacionesSospechosa)) {
  461.             // set the owning side to null (unless already changed)
  462.             if ($operacionesSospechosa->getEmpresa() === $this) {
  463.                 $operacionesSospechosa->setEmpresa(null);
  464.             }
  465.         }
  466.         return $this;
  467.     }
  468.     /**
  469.      * @return Collection<int, GHPerfilCargo>
  470.      */
  471.     public function getPerfilCargoServicios(): Collection {
  472.         return $this->perfilCargoServicios;
  473.     }
  474.     public function addPerfilCargoServicio(GHPerfilCargo $perfilCargoServicio): static {
  475.         if (!$this->perfilCargoServicios->contains($perfilCargoServicio)) {
  476.             $this->perfilCargoServicios->add($perfilCargoServicio);
  477.             $perfilCargoServicio->addEmpresaServicio($this);
  478.         }
  479.         return $this;
  480.     }
  481.     public function removePerfilCargoServicio(GHPerfilCargo $perfilCargoServicio): static {
  482.         if ($this->perfilCargoServicios->removeElement($perfilCargoServicio)) {
  483.             $perfilCargoServicio->removeEmpresaServicio($this);
  484.         }
  485.         return $this;
  486.     }
  487.     public function getAbreviatura(): ?string {
  488.         return $this->abreviatura;
  489.     }
  490.     public function setAbreviatura(?string $abreviatura): static {
  491.         $this->abreviatura $abreviatura;
  492.         return $this;
  493.     }
  494.     /**
  495.      * @return Collection<int, TerSedeEmpresa>
  496.      */
  497.     public function getSedeEmpresa(): Collection
  498.     {
  499.         return $this->sedeEmpresa;
  500.     }
  501.     public function addSedeEmpresa(TerSedeEmpresa $sedeEmpresa): static
  502.     {
  503.         if (!$this->sedeEmpresa->contains($sedeEmpresa)) {
  504.             $this->sedeEmpresa->add($sedeEmpresa);
  505.             $sedeEmpresa->addEmpresaFilial($this);
  506.         }
  507.         return $this;
  508.     }
  509.     public function removeSedeEmpresa(TerSedeEmpresa $sedeEmpresa): static
  510.     {
  511.         if ($this->sedeEmpresa->removeElement($sedeEmpresa)) {
  512.             $sedeEmpresa->removeEmpresaFilial($this);
  513.         }
  514.         return $this;
  515.     }
  516.     /**
  517.      * @return Collection<int, GHMatrizEntrenamiento>
  518.      */
  519.     public function getMatrizEntrenamientos(): Collection
  520.     {
  521.         return $this->matrizEntrenamientos;
  522.     }
  523.     public function addMatrizEntrenamiento(GHMatrizEntrenamiento $matrizEntrenamiento): static
  524.     {
  525.         if (!$this->matrizEntrenamientos->contains($matrizEntrenamiento)) {
  526.             $this->matrizEntrenamientos->add($matrizEntrenamiento);
  527.             $matrizEntrenamiento->setEmpresa($this);
  528.         }
  529.         return $this;
  530.     }
  531.     public function removeMatrizEntrenamiento(GHMatrizEntrenamiento $matrizEntrenamiento): static
  532.     {
  533.         if ($this->matrizEntrenamientos->removeElement($matrizEntrenamiento)) {
  534.             // set the owning side to null (unless already changed)
  535.             if ($matrizEntrenamiento->getEmpresa() === $this) {
  536.                 $matrizEntrenamiento->setEmpresa(null);
  537.             }
  538.         }
  539.         return $this;
  540.     }
  541.     /**
  542.      * @return Collection<int, JurRegistroCumplimiento>
  543.      */
  544.     public function getRegistroCumplimiento(): Collection
  545.     {
  546.         return $this->registroCumplimiento;
  547.     }
  548.     public function addRegistroCumplimiento(JurRegistroCumplimiento $registroCumplimiento): static
  549.     {
  550.         if (!$this->registroCumplimiento->contains($registroCumplimiento)) {
  551.             $this->registroCumplimiento->add($registroCumplimiento);
  552.             $registroCumplimiento->addEmpresa($this);
  553.         }
  554.         return $this;
  555.     }
  556.     public function removeRegistroCumplimiento(JurRegistroCumplimiento $registroCumplimiento): static
  557.     {
  558.         if ($this->registroCumplimiento->removeElement($registroCumplimiento)) {
  559.             $registroCumplimiento->removeEmpresa($this);
  560.         }
  561.         return $this;
  562.     }
  563.     /**
  564.      * @return Collection<int, TerProveedor>
  565.      */
  566.     public function getProveedor(): Collection
  567.     {
  568.         return $this->proveedor;
  569.     }
  570.     public function addProveedor(TerProveedor $proveedor): static
  571.     {
  572.         if (!$this->proveedor->contains($proveedor)) {
  573.             $this->proveedor->add($proveedor);
  574.             $proveedor->addEmpresaFilial($this);
  575.         }
  576.         return $this;
  577.     }
  578.     public function removeProveedor(TerProveedor $proveedor): static
  579.     {
  580.         if ($this->proveedor->removeElement($proveedor)) {
  581.             $proveedor->removeEmpresaFilial($this);
  582.         }
  583.         return $this;
  584.     }
  585.     /**
  586.      * @return Collection<int, RFInventarioActivos>
  587.      */
  588.     public function getInventarioActivos(): Collection
  589.     {
  590.         return $this->inventarioActivos;
  591.     }
  592.     public function addInventarioActivo(RFInventarioActivos $inventarioActivo): static
  593.     {
  594.         if (!$this->inventarioActivos->contains($inventarioActivo)) {
  595.             $this->inventarioActivos->add($inventarioActivo);
  596.             $inventarioActivo->setEmpresaFilial($this);
  597.         }
  598.         return $this;
  599.     }
  600.     public function removeInventarioActivo(RFInventarioActivos $inventarioActivo): static
  601.     {
  602.         if ($this->inventarioActivos->removeElement($inventarioActivo)) {
  603.             // set the owning side to null (unless already changed)
  604.             if ($inventarioActivo->getEmpresaFilial() === $this) {
  605.                 $inventarioActivo->setEmpresaFilial(null);
  606.             }
  607.         }
  608.         return $this;
  609.     }
  610.     /**
  611.      * @return Collection<int, RFPrecinto>
  612.      */
  613.     public function getPrecintos(): Collection
  614.     {
  615.         return $this->precintos;
  616.     }
  617.     public function addPrecinto(RFPrecinto $precinto): static
  618.     {
  619.         if (!$this->precintos->contains($precinto)) {
  620.             $this->precintos->add($precinto);
  621.             $precinto->setEmpresaFilial($this);
  622.         }
  623.         return $this;
  624.     }
  625.     public function removePrecinto(RFPrecinto $precinto): static
  626.     {
  627.         if ($this->precintos->removeElement($precinto)) {
  628.             // set the owning side to null (unless already changed)
  629.             if ($precinto->getEmpresaFilial() === $this) {
  630.                 $precinto->setEmpresaFilial(null);
  631.             }
  632.         }
  633.         return $this;
  634.     }
  635.     /**
  636.      * @return Collection<int, RFPrecintoSolicitud>
  637.      */
  638.     public function getRFPrecintoSolicituds(): Collection
  639.     {
  640.         return $this->rFPrecintoSolicituds;
  641.     }
  642.     public function addRFPrecintoSolicitud(RFPrecintoSolicitud $rFPrecintoSolicitud): static
  643.     {
  644.         if (!$this->rFPrecintoSolicituds->contains($rFPrecintoSolicitud)) {
  645.             $this->rFPrecintoSolicituds->add($rFPrecintoSolicitud);
  646.             $rFPrecintoSolicitud->setEmpresaFilial($this);
  647.         }
  648.         return $this;
  649.     }
  650.     public function removeRFPrecintoSolicitud(RFPrecintoSolicitud $rFPrecintoSolicitud): static
  651.     {
  652.         if ($this->rFPrecintoSolicituds->removeElement($rFPrecintoSolicitud)) {
  653.             // set the owning side to null (unless already changed)
  654.             if ($rFPrecintoSolicitud->getEmpresaFilial() === $this) {
  655.                 $rFPrecintoSolicitud->setEmpresaFilial(null);
  656.             }
  657.         }
  658.         return $this;
  659.     }
  660.     /**
  661.      * @return Collection<int, RFPrecintoAsignacion>
  662.      */
  663.     public function getPrecintoAsignacion(): Collection
  664.     {
  665.         return $this->precintoAsignacion;
  666.     }
  667.     public function addPrecintoAsignacion(RFPrecintoAsignacion $precintoAsignacion): static
  668.     {
  669.         if (!$this->precintoAsignacion->contains($precintoAsignacion)) {
  670.             $this->precintoAsignacion->add($precintoAsignacion);
  671.             $precintoAsignacion->setEmpresaFilial($this);
  672.         }
  673.         return $this;
  674.     }
  675.     public function removePrecintoAsignacion(RFPrecintoAsignacion $precintoAsignacion): static
  676.     {
  677.         if ($this->precintoAsignacion->removeElement($precintoAsignacion)) {
  678.             // set the owning side to null (unless already changed)
  679.             if ($precintoAsignacion->getEmpresaFilial() === $this) {
  680.                 $precintoAsignacion->setEmpresaFilial(null);
  681.             }
  682.         }
  683.         return $this;
  684.     }
  685.     /**
  686.      * @return Collection<int, RFSolicitudCompra>
  687.      */
  688.     public function getSolicitudCompras(): Collection
  689.     {
  690.         return $this->solicitudCompras;
  691.     }
  692.     public function addSolicitudCompra(RFSolicitudCompra $solicitudCompra): static
  693.     {
  694.         if (!$this->solicitudCompras->contains($solicitudCompra)) {
  695.             $this->solicitudCompras->add($solicitudCompra);
  696.             $solicitudCompra->setEmpresaFilial($this);
  697.         }
  698.         return $this;
  699.     }
  700.     public function removeSolicitudCompra(RFSolicitudCompra $solicitudCompra): static
  701.     {
  702.         if ($this->solicitudCompras->removeElement($solicitudCompra)) {
  703.             // set the owning side to null (unless already changed)
  704.             if ($solicitudCompra->getEmpresaFilial() === $this) {
  705.                 $solicitudCompra->setEmpresaFilial(null);
  706.             }
  707.         }
  708.         return $this;
  709.     }
  710.     /**
  711.      * @return Collection<int, RFOrdenCompra>
  712.      */
  713.     public function getOrdenesCompra(): Collection
  714.     {
  715.         return $this->ordenesCompra;
  716.     }
  717.     public function addOrdenesCompra(RFOrdenCompra $ordenesCompra): static
  718.     {
  719.         if (!$this->ordenesCompra->contains($ordenesCompra)) {
  720.             $this->ordenesCompra->add($ordenesCompra);
  721.             $ordenesCompra->setEmpresaFilial($this);
  722.         }
  723.         return $this;
  724.     }
  725.     public function removeOrdenesCompra(RFOrdenCompra $ordenesCompra): static
  726.     {
  727.         if ($this->ordenesCompra->removeElement($ordenesCompra)) {
  728.             // set the owning side to null (unless already changed)
  729.             if ($ordenesCompra->getEmpresaFilial() === $this) {
  730.                 $ordenesCompra->setEmpresaFilial(null);
  731.             }
  732.         }
  733.         return $this;
  734.     }
  735.     /**
  736.      * @return Collection<int, RFRembolsoCajaMenor>
  737.      */
  738.     public function getRembolsosCajaMenor(): Collection
  739.     {
  740.         return $this->rembolsosCajaMenor;
  741.     }
  742.     public function addRembolsosCajaMenor(RFRembolsoCajaMenor $rembolsosCajaMenor): static
  743.     {
  744.         if (!$this->rembolsosCajaMenor->contains($rembolsosCajaMenor)) {
  745.             $this->rembolsosCajaMenor->add($rembolsosCajaMenor);
  746.             $rembolsosCajaMenor->setEmpresaFilial($this);
  747.         }
  748.         return $this;
  749.     }
  750.     public function removeRembolsosCajaMenor(RFRembolsoCajaMenor $rembolsosCajaMenor): static
  751.     {
  752.         if ($this->rembolsosCajaMenor->removeElement($rembolsosCajaMenor)) {
  753.             // set the owning side to null (unless already changed)
  754.             if ($rembolsosCajaMenor->getEmpresaFilial() === $this) {
  755.                 $rembolsosCajaMenor->setEmpresaFilial(null);
  756.             }
  757.         }
  758.         return $this;
  759.     }
  760.     public function getComServiosInteres(): ?ComProspecto
  761.     {
  762.         return $this->comServiosInteres;
  763.     }
  764.     public function setComServiosInteres(ComProspecto $comServiosInteres): static
  765.     {
  766.         // set the owning side of the relation if necessary
  767.         if ($comServiosInteres->getServiciosInteres() !== $this) {
  768.             $comServiosInteres->setServiciosInteres($this);
  769.         }
  770.         $this->comServiosInteres $comServiosInteres;
  771.         return $this;
  772.     }
  773.     public function getComOfertaComercial(): ?ComOfertaComercial
  774.     {
  775.         return $this->comOfertaComercial;
  776.     }
  777.     public function setComOfertaComercial(ComOfertaComercial $comOfertaComercial): static
  778.     {
  779.         // set the owning side of the relation if necessary
  780.         if ($comOfertaComercial->getTerEmpresa() !== $this) {
  781.             $comOfertaComercial->setTerEmpresa($this);
  782.         }
  783.         $this->comOfertaComercial $comOfertaComercial;
  784.         return $this;
  785.     }
  786.     /**
  787.      * @return Collection<int, ComProspecto>
  788.      */
  789.     public function getComProspectosTerEmpresa(): Collection
  790.     {
  791.         return $this->comProspectosTerEmpresa;
  792.     }
  793.     public function addComProspectosTerEmpresa(ComProspecto $comProspectosTerEmpresa): static
  794.     {
  795.         if (!$this->comProspectosTerEmpresa->contains($comProspectosTerEmpresa)) {
  796.             $this->comProspectosTerEmpresa->add($comProspectosTerEmpresa);
  797.             $comProspectosTerEmpresa->addServiciosIntere($this);
  798.         }
  799.         return $this;
  800.     }
  801.     public function removeComProspectosTerEmpresa(ComProspecto $comProspectosTerEmpresa): static
  802.     {
  803.         if ($this->comProspectosTerEmpresa->removeElement($comProspectosTerEmpresa)) {
  804.             $comProspectosTerEmpresa->removeServiciosIntere($this);
  805.         }
  806.         return $this;
  807.     }
  808.     /**
  809.      * @return Collection<int, TerEmpresaCliente>
  810.      */
  811.     public function getTerEmpresaClientes(): Collection
  812.     {
  813.         return $this->terEmpresaClientes;
  814.     }
  815.     public function addTerEmpresaCliente(TerEmpresaCliente $terEmpresaCliente): static
  816.     {
  817.         if (!$this->terEmpresaClientes->contains($terEmpresaCliente)) {
  818.             $this->terEmpresaClientes->add($terEmpresaCliente);
  819.             $terEmpresaCliente->addServicioIntere($this);
  820.         }
  821.         return $this;
  822.     }
  823.     public function removeTerEmpresaCliente(TerEmpresaCliente $terEmpresaCliente): static
  824.     {
  825.         if ($this->terEmpresaClientes->removeElement($terEmpresaCliente)) {
  826.             $terEmpresaCliente->removeServicioIntere($this);
  827.         }
  828.         return $this;
  829.     }
  830.     /**
  831.      * @return Collection<int, TerEmpresaCliente>
  832.      */
  833.     public function getTerEmpresaCliente(): Collection
  834.     {
  835.         return $this->terEmpresaCliente;
  836.     }
  837.     /**
  838.      * @return Collection<int, ComComisionesTerceros>
  839.      */
  840.     public function getComComisionesTerceros(): Collection
  841.     {
  842.         return $this->comComisionesTerceros;
  843.     }
  844.     public function addComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
  845.     {
  846.         if (!$this->comComisionesTerceros->contains($comComisionesTercero)) {
  847.             $this->comComisionesTerceros->add($comComisionesTercero);
  848.             $comComisionesTercero->setTerEmpresa($this);
  849.         }
  850.         return $this;
  851.     }
  852.     public function removeComComisionesTercero(ComComisionesTerceros $comComisionesTercero): static
  853.     {
  854.         if ($this->comComisionesTerceros->removeElement($comComisionesTercero)) {
  855.             // set the owning side to null (unless already changed)
  856.             if ($comComisionesTercero->getTerEmpresa() === $this) {
  857.                 $comComisionesTercero->setTerEmpresa(null);
  858.             }
  859.         }
  860.         return $this;
  861.     }
  862.     /**
  863.      * @return Collection<int, ComCircular170YPoderes>
  864.      */
  865.     public function getComCircular170YPoderes(): Collection
  866.     {
  867.         return $this->comCircular170YPoderes;
  868.     }
  869.     public function addComCircular170YPodere(ComCircular170YPoderes $comCircular170YPodere): static
  870.     {
  871.         if (!$this->comCircular170YPoderes->contains($comCircular170YPodere)) {
  872.             $this->comCircular170YPoderes->add($comCircular170YPodere);
  873.             $comCircular170YPodere->addEmpresaPrestadoraServicio($this);
  874.         }
  875.         return $this;
  876.     }
  877.     public function removeComCircular170YPodere(ComCircular170YPoderes $comCircular170YPodere): static
  878.     {
  879.         if ($this->comCircular170YPoderes->removeElement($comCircular170YPodere)) {
  880.             $comCircular170YPodere->removeEmpresaPrestadoraServicio($this);
  881.         }
  882.         return $this;
  883.     }
  884.     /**
  885.      * @return Collection<int, ComEncuestaSactisfaccion>
  886.      */
  887.     public function getComEncuestaSactisfaccions(): Collection
  888.     {
  889.         return $this->comEncuestaSactisfaccions;
  890.     }
  891.     public function addComEncuestaSactisfaccion(ComEncuestaSactisfaccion $comEncuestaSactisfaccion): static
  892.     {
  893.         if (!$this->comEncuestaSactisfaccions->contains($comEncuestaSactisfaccion)) {
  894.             $this->comEncuestaSactisfaccions->add($comEncuestaSactisfaccion);
  895.             $comEncuestaSactisfaccion->setEmpresa($this);
  896.         }
  897.         return $this;
  898.     }
  899.     public function removeComEncuestaSactisfaccion(ComEncuestaSactisfaccion $comEncuestaSactisfaccion): static
  900.     {
  901.         if ($this->comEncuestaSactisfaccions->removeElement($comEncuestaSactisfaccion)) {
  902.             // set the owning side to null (unless already changed)
  903.             if ($comEncuestaSactisfaccion->getEmpresa() === $this) {
  904.                 $comEncuestaSactisfaccion->setEmpresa(null);
  905.             }
  906.         }
  907.         return $this;
  908.     }
  909.     /**
  910.      * @return Collection<int, ComArchivoPlano>
  911.      */
  912.     public function getComArchivoPlanos(): Collection
  913.     {
  914.         return $this->comArchivoPlanos;
  915.     }
  916.     public function addComArchivoPlano(ComArchivoPlano $comArchivoPlano): static
  917.     {
  918.         if (!$this->comArchivoPlanos->contains($comArchivoPlano)) {
  919.             $this->comArchivoPlanos->add($comArchivoPlano);
  920.             $comArchivoPlano->setTerEmpresa($this);
  921.         }
  922.         return $this;
  923.     }
  924.     public function removeComArchivoPlano(ComArchivoPlano $comArchivoPlano): static
  925.     {
  926.         if ($this->comArchivoPlanos->removeElement($comArchivoPlano)) {
  927.             // set the owning side to null (unless already changed)
  928.             if ($comArchivoPlano->getTerEmpresa() === $this) {
  929.                 $comArchivoPlano->setTerEmpresa(null);
  930.             }
  931.         }
  932.         return $this;
  933.     }
  934.     /**
  935.      * @return Collection<int, TerPersona>
  936.      */
  937.     public function getTerPersonas(): Collection
  938.     {
  939.         return $this->terPersonas;
  940.     }
  941.     public function addTerPersona(TerPersona $terPersona): static
  942.     {
  943.         if (!$this->terPersonas->contains($terPersona)) {
  944.             $this->terPersonas->add($terPersona);
  945.             $terPersona->setEmpresa($this);
  946.         }
  947.         return $this;
  948.     }
  949.     public function removeTerPersona(TerPersona $terPersona): static
  950.     {
  951.         if ($this->terPersonas->removeElement($terPersona)) {
  952.             // set the owning side to null (unless already changed)
  953.             if ($terPersona->getEmpresa() === $this) {
  954.                 $terPersona->setEmpresa(null);
  955.             }
  956.         }
  957.         return $this;
  958.     }
  959. }