src/Entity/TerProveedor.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TerProveedorRepository;
  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(repositoryClassTerProveedorRepository::class)]
  9. class TerProveedor
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $nombre null;
  17.     #[ORM\Column(length100)]
  18.     private ?string $identificacion null;
  19.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  20.     private ?\DateTimeInterface $createAt null;
  21.     #[ORM\Column(length50)]
  22.     private ?string $createUser null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  24.     private ?\DateTimeInterface $updateAt null;
  25.     #[ORM\Column(length50)]
  26.     private ?string $updateUser null;
  27.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityRFDisposicionProveedor::class)]
  28.     private Collection $disposicionProveedor;
  29.     #[ORM\Column(length255)]
  30.     private ?string $razonSocial null;
  31.     #[ORM\Column(length150)]
  32.     private ?string $correo null;
  33.     #[ORM\Column(length50)]
  34.     private ?string $telefono null;
  35.     #[ORM\Column(length255)]
  36.     private ?string $direccion null;
  37.     #[ORM\Column(length255)]
  38.     private ?string $ciudad null;
  39.     #[ORM\ManyToMany(targetEntityTerEmpresa::class, inversedBy'proveedor')]
  40.     private Collection $empresaFilial;
  41.     #[ORM\ManyToOne(inversedBy'proveedor')]
  42.     private ?ParTipoProveedor $tipo null;
  43.     #[ORM\ManyToOne(inversedBy'proveedor')]
  44.     private ?ParActividadEconomica $actividadEconomica null;
  45.     #[ORM\Column(typeTypes::TEXT)]
  46.     private ?string $productos null;
  47.     #[ORM\ManyToOne(inversedBy'proveedor')]
  48.     private ?ParCondicionComercial $condicionComercial null;
  49.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  50.     private ?string $observaciones null;
  51.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  52.     private ?string $otrasCondicionesComerciales null;
  53.     #[ORM\Column(length255)]
  54.     private ?string $personaContacto null;
  55.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityTerProveedorCotizacion::class)]
  56.     private Collection $proveedorCotizacion;
  57.     #[ORM\ManyToOne(inversedBy'proveedor')]
  58.     private ?ParEstado $estado null;
  59.     #[ORM\Column(nullabletrue)]
  60.     private ?bool $consultaRiesgosLAFT null;
  61.     #[ORM\Column(length100nullabletrue)]
  62.     private ?string $resultadoConsultaLAFT null;
  63.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  64.     private ?\DateTimeInterface $fechaConsultaLAFT null;
  65.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  66.     private ?\DateTimeInterface $proximaEvaluacionLAFT null;
  67.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  68.     private ?string $observacionesLAFT null;
  69.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityTerProveedorMandato::class)]
  70.     private Collection $historicoProveedorMandato;
  71.     #[ORM\Column(nullabletrue)]
  72.     private ?float $totalEvaluacion null;
  73.     #[ORM\Column(nullabletrue)]
  74.     private ?float $criticidad null;
  75.     #[ORM\Column(nullabletrue)]
  76.     private ?float $criteriosDocumentales null;
  77.     #[ORM\Column(nullabletrue)]
  78.     private ?float $calificacionVisitaSeguridad null;
  79.     #[ORM\Column(nullabletrue)]
  80.     private ?float $resultadoEvaluacion null;
  81.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  82.     private ?string $comentarioRechazo null;
  83.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  84.     private ?\DateTimeInterface $proximaEvaluacion null;
  85.     #[ORM\Column(nullabletrue)]
  86.     private ?bool $verificacionBasc null;
  87.     #[ORM\Column(length10nullabletrue)]
  88.     private ?string $manifestacionSuscrita null;
  89.     #[ORM\Column(length10nullabletrue)]
  90.     private ?string $acuerdoSeguridadVigente null;
  91.     #[ORM\Column(length10nullabletrue)]
  92.     private ?string $planContinuidadNegocio null;
  93.     #[ORM\Column(length10nullabletrue)]
  94.     private ?string $visitaVigente null;
  95.     #[ORM\Column(length10nullabletrue)]
  96.     private ?string $contrato null;
  97.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  98.     private ?\DateTimeInterface $fechaVigenciaContrato null;
  99.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  100.     private ?string $observacionesEstado null;
  101.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityRFPrecinto::class)]
  102.     private Collection $precintos;
  103.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityRFOrdenCompra::class)]
  104.     private Collection $ordenCompra;
  105.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityJurOperacionSospechosa::class)]
  106.     private Collection $operacionesSospechosas;
  107.     #[ORM\OneToMany(mappedBy'proveedor'targetEntityJurDocumentoLegal::class)]
  108.     private Collection $documentosLegales;
  109.     public function __toString() {
  110.         return "{$this->getIdentificacion()}-{$this->getRazonSocial()}";
  111.     }
  112.     
  113.     public function __construct()
  114.     {
  115.         $this->disposicionProveedor = new ArrayCollection();
  116.         $this->empresaFilial = new ArrayCollection();
  117.         $this->proveedorCotizacion = new ArrayCollection();
  118.         $this->historicoProveedorMandato = new ArrayCollection();
  119.         $this->precintos = new ArrayCollection();
  120.         $this->ordenCompra = new ArrayCollection();
  121.         $this->operacionesSospechosas = new ArrayCollection();
  122.         $this->documentosLegales = new ArrayCollection();
  123.     }
  124.     public function getId(): ?int
  125.     {
  126.         return $this->id;
  127.     }
  128.     public function getNombre(): ?string
  129.     {
  130.         return $this->nombre;
  131.     }
  132.     public function setNombre(string $nombre): static
  133.     {
  134.         $this->nombre $nombre;
  135.         return $this;
  136.     }
  137.     public function getIdentificacion(): ?string
  138.     {
  139.         return $this->identificacion;
  140.     }
  141.     public function setIdentificacion(string $identificacion): static
  142.     {
  143.         $this->identificacion $identificacion;
  144.         return $this;
  145.     }
  146.     public function getCreateAt(): ?\DateTimeInterface
  147.     {
  148.         return $this->createAt;
  149.     }
  150.     public function setCreateAt(\DateTimeInterface $createAt): static
  151.     {
  152.         $this->createAt $createAt;
  153.         return $this;
  154.     }
  155.     public function getCreateUser(): ?string
  156.     {
  157.         return $this->createUser;
  158.     }
  159.     public function setCreateUser(string $createUser): static
  160.     {
  161.         $this->createUser $createUser;
  162.         return $this;
  163.     }
  164.     public function getUpdateAt(): ?\DateTimeInterface
  165.     {
  166.         return $this->updateAt;
  167.     }
  168.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  169.     {
  170.         $this->updateAt $updateAt;
  171.         return $this;
  172.     }
  173.     public function getUpdateUser(): ?string
  174.     {
  175.         return $this->updateUser;
  176.     }
  177.     public function setUpdateUser(string $updateUser): static
  178.     {
  179.         $this->updateUser $updateUser;
  180.         return $this;
  181.     }
  182.     /**
  183.      * @return Collection<int, RFDisposicionProveedor>
  184.      */
  185.     public function getDisposicionProveedor(): Collection
  186.     {
  187.         return $this->disposicionProveedor;
  188.     }
  189.     public function addDisposicionProveedor(RFDisposicionProveedor $disposicionProveedor): static
  190.     {
  191.         if (!$this->disposicionProveedor->contains($disposicionProveedor)) {
  192.             $this->disposicionProveedor->add($disposicionProveedor);
  193.             $disposicionProveedor->setProveedor($this);
  194.         }
  195.         return $this;
  196.     }
  197.     public function removeDisposicionProveedor(RFDisposicionProveedor $disposicionProveedor): static
  198.     {
  199.         if ($this->disposicionProveedor->removeElement($disposicionProveedor)) {
  200.             // set the owning side to null (unless already changed)
  201.             if ($disposicionProveedor->getProveedor() === $this) {
  202.                 $disposicionProveedor->setProveedor(null);
  203.             }
  204.         }
  205.         return $this;
  206.     }
  207.     public function getRazonSocial(): ?string
  208.     {
  209.         return $this->razonSocial;
  210.     }
  211.     public function setRazonSocial(string $razonSocial): static
  212.     {
  213.         $this->razonSocial $razonSocial;
  214.         return $this;
  215.     }
  216.     public function getCorreo(): ?string
  217.     {
  218.         return $this->correo;
  219.     }
  220.     public function setCorreo(string $correo): static
  221.     {
  222.         $this->correo $correo;
  223.         return $this;
  224.     }
  225.     public function getTelefono(): ?string
  226.     {
  227.         return $this->telefono;
  228.     }
  229.     public function setTelefono(string $telefono): static
  230.     {
  231.         $this->telefono $telefono;
  232.         return $this;
  233.     }
  234.     public function getDireccion(): ?string
  235.     {
  236.         return $this->direccion;
  237.     }
  238.     public function setDireccion(string $direccion): static
  239.     {
  240.         $this->direccion $direccion;
  241.         return $this;
  242.     }
  243.     public function getCiudad(): ?string
  244.     {
  245.         return $this->ciudad;
  246.     }
  247.     public function setCiudad(string $ciudad): static
  248.     {
  249.         $this->ciudad $ciudad;
  250.         return $this;
  251.     }
  252.     /**
  253.      * @return Collection<int, TerEmpresa>
  254.      */
  255.     public function getEmpresaFilial(): Collection
  256.     {
  257.         return $this->empresaFilial;
  258.     }
  259.     public function addEmpresaFilial(TerEmpresa $empresaFilial): static
  260.     {
  261.         if (!$this->empresaFilial->contains($empresaFilial)) {
  262.             $this->empresaFilial->add($empresaFilial);
  263.         }
  264.         return $this;
  265.     }
  266.     public function removeEmpresaFilial(TerEmpresa $empresaFilial): static
  267.     {
  268.         $this->empresaFilial->removeElement($empresaFilial);
  269.         return $this;
  270.     }
  271.     public function getTipo(): ?ParTipoProveedor
  272.     {
  273.         return $this->tipo;
  274.     }
  275.     public function setTipo(?ParTipoProveedor $tipo): static
  276.     {
  277.         $this->tipo $tipo;
  278.         return $this;
  279.     }
  280.     public function getActividadEconomica(): ?ParActividadEconomica
  281.     {
  282.         return $this->actividadEconomica;
  283.     }
  284.     public function setActividadEconomica(?ParActividadEconomica $actividadEconomica): static
  285.     {
  286.         $this->actividadEconomica $actividadEconomica;
  287.         return $this;
  288.     }
  289.     public function getProductos(): ?string
  290.     {
  291.         return $this->productos;
  292.     }
  293.     public function setProductos(string $productos): static
  294.     {
  295.         $this->productos $productos;
  296.         return $this;
  297.     }
  298.     public function getCondicionComercial(): ?ParCondicionComercial
  299.     {
  300.         return $this->condicionComercial;
  301.     }
  302.     public function setCondicionComercial(?ParCondicionComercial $condicionComercial): static
  303.     {
  304.         $this->condicionComercial $condicionComercial;
  305.         return $this;
  306.     }
  307.     public function getObservaciones(): ?string
  308.     {
  309.         return $this->observaciones;
  310.     }
  311.     public function setObservaciones(?string $observaciones): static
  312.     {
  313.         $this->observaciones $observaciones;
  314.         return $this;
  315.     }
  316.     public function getOtrasCondicionesComerciales(): ?string
  317.     {
  318.         return $this->otrasCondicionesComerciales;
  319.     }
  320.     public function setOtrasCondicionesComerciales(?string $otrasCondicionesComerciales): static
  321.     {
  322.         $this->otrasCondicionesComerciales $otrasCondicionesComerciales;
  323.         return $this;
  324.     }
  325.     public function getPersonaContacto(): ?string
  326.     {
  327.         return $this->personaContacto;
  328.     }
  329.     public function setPersonaContacto(string $personaContacto): static
  330.     {
  331.         $this->personaContacto $personaContacto;
  332.         return $this;
  333.     }
  334.     /**
  335.      * @return Collection<int, TerProveedorCotizacion>
  336.      */
  337.     public function getProveedorCotizacion(): Collection
  338.     {
  339.         return $this->proveedorCotizacion;
  340.     }
  341.     public function addProveedorCotizacion(TerProveedorCotizacion $proveedorCotizacion): static
  342.     {
  343.         if (!$this->proveedorCotizacion->contains($proveedorCotizacion)) {
  344.             $this->proveedorCotizacion->add($proveedorCotizacion);
  345.             $proveedorCotizacion->setProveedor($this);
  346.         }
  347.         return $this;
  348.     }
  349.     public function removeProveedorCotizacion(TerProveedorCotizacion $proveedorCotizacion): static
  350.     {
  351.         if ($this->proveedorCotizacion->removeElement($proveedorCotizacion)) {
  352.             // set the owning side to null (unless already changed)
  353.             if ($proveedorCotizacion->getProveedor() === $this) {
  354.                 $proveedorCotizacion->setProveedor(null);
  355.             }
  356.         }
  357.         return $this;
  358.     }
  359.     public function getEstado(): ?ParEstado
  360.     {
  361.         return $this->estado;
  362.     }
  363.     public function setEstado(?ParEstado $estado): static
  364.     {
  365.         $this->estado $estado;
  366.         return $this;
  367.     }
  368.     public function isConsultaRiesgosLAFT(): ?bool
  369.     {
  370.         return $this->consultaRiesgosLAFT;
  371.     }
  372.     public function setConsultaRiesgosLAFT(?bool $consultaRiesgosLAFT): static
  373.     {
  374.         $this->consultaRiesgosLAFT $consultaRiesgosLAFT;
  375.         return $this;
  376.     }
  377.     public function getResultadoConsultaLAFT(): ?string
  378.     {
  379.         return $this->resultadoConsultaLAFT;
  380.     }
  381.     public function setResultadoConsultaLAFT(?string $resultadoConsultaLAFT): static
  382.     {
  383.         $this->resultadoConsultaLAFT $resultadoConsultaLAFT;
  384.         return $this;
  385.     }
  386.     public function getFechaConsultaLAFT(): ?\DateTimeInterface
  387.     {
  388.         return $this->fechaConsultaLAFT;
  389.     }
  390.     public function setFechaConsultaLAFT(?\DateTimeInterface $fechaConsultaLAFT): static
  391.     {
  392.         $this->fechaConsultaLAFT $fechaConsultaLAFT;
  393.         return $this;
  394.     }
  395.     public function getProximaEvaluacionLAFT(): ?\DateTimeInterface
  396.     {
  397.         return $this->proximaEvaluacionLAFT;
  398.     }
  399.     public function setProximaEvaluacionLAFT(?\DateTimeInterface $proximaEvaluacionLAFT): static
  400.     {
  401.         $this->proximaEvaluacionLAFT $proximaEvaluacionLAFT;
  402.         return $this;
  403.     }
  404.     public function getObservacionesLAFT(): ?string
  405.     {
  406.         return $this->observacionesLAFT;
  407.     }
  408.     public function setObservacionesLAFT(?string $observacionesLAFT): static
  409.     {
  410.         $this->observacionesLAFT $observacionesLAFT;
  411.         return $this;
  412.     }
  413.     /**
  414.      * @return Collection<int, TerProveedorMandato>
  415.      */
  416.     public function getHistoricoProveedorMandato(): Collection
  417.     {
  418.         return $this->historicoProveedorMandato;
  419.     }
  420.     public function addHistoricoProveedorMandato(TerProveedorMandato $historicoProveedorMandato): static
  421.     {
  422.         if (!$this->historicoProveedorMandato->contains($historicoProveedorMandato)) {
  423.             $this->historicoProveedorMandato->add($historicoProveedorMandato);
  424.             $historicoProveedorMandato->setProveedor($this);
  425.         }
  426.         return $this;
  427.     }
  428.     public function removeHistoricoProveedorMandato(TerProveedorMandato $historicoProveedorMandato): static
  429.     {
  430.         if ($this->historicoProveedorMandato->removeElement($historicoProveedorMandato)) {
  431.             // set the owning side to null (unless already changed)
  432.             if ($historicoProveedorMandato->getProveedor() === $this) {
  433.                 $historicoProveedorMandato->setProveedor(null);
  434.             }
  435.         }
  436.         return $this;
  437.     }
  438.     public function getTotalEvaluacion(): ?float
  439.     {
  440.         return $this->totalEvaluacion;
  441.     }
  442.     public function setTotalEvaluacion(?float $totalEvaluacion): static
  443.     {
  444.         $this->totalEvaluacion $totalEvaluacion;
  445.         return $this;
  446.     }
  447.     public function getCriticidad(): ?float
  448.     {
  449.         return $this->criticidad;
  450.     }
  451.     public function setCriticidad(?float $criticidad): static
  452.     {
  453.         $this->criticidad $criticidad;
  454.         return $this;
  455.     }
  456.     public function getCriteriosDocumentales(): ?float
  457.     {
  458.         return $this->criteriosDocumentales;
  459.     }
  460.     public function setCriteriosDocumentales(?float $criteriosDocumentales): static
  461.     {
  462.         $this->criteriosDocumentales $criteriosDocumentales;
  463.         return $this;
  464.     }
  465.     public function getCalificacionVisitaSeguridad(): ?float
  466.     {
  467.         return $this->calificacionVisitaSeguridad;
  468.     }
  469.     public function setCalificacionVisitaSeguridad(?float $calificacionVisitaSeguridad): static
  470.     {
  471.         $this->calificacionVisitaSeguridad $calificacionVisitaSeguridad;
  472.         return $this;
  473.     }
  474.     public function getResultadoEvaluacion(): ?float
  475.     {
  476.         return $this->resultadoEvaluacion;
  477.     }
  478.     public function setResultadoEvaluacion(?float $resultadoEvaluacion): static
  479.     {
  480.         $this->resultadoEvaluacion $resultadoEvaluacion;
  481.         return $this;
  482.     }
  483.     public function getComentarioRechazo(): ?string
  484.     {
  485.         return $this->comentarioRechazo;
  486.     }
  487.     public function setComentarioRechazo(?string $comentarioRechazo): static
  488.     {
  489.         $this->comentarioRechazo $comentarioRechazo;
  490.         return $this;
  491.     }
  492.     public function getProximaEvaluacion(): ?\DateTimeInterface
  493.     {
  494.         return $this->proximaEvaluacion;
  495.     }
  496.     public function setProximaEvaluacion(?\DateTimeInterface $proximaEvaluacion): static
  497.     {
  498.         $this->proximaEvaluacion $proximaEvaluacion;
  499.         return $this;
  500.     }
  501.     public function isVerificacionBasc(): ?bool
  502.     {
  503.         return $this->verificacionBasc;
  504.     }
  505.     public function setVerificacionBasc(?bool $verificacionBasc): static
  506.     {
  507.         $this->verificacionBasc $verificacionBasc;
  508.         return $this;
  509.     }
  510.     public function getManifestacionSuscrita(): ?string
  511.     {
  512.         return $this->manifestacionSuscrita;
  513.     }
  514.     public function setManifestacionSuscrita(?string $manifestacionSuscrita): static
  515.     {
  516.         $this->manifestacionSuscrita $manifestacionSuscrita;
  517.         return $this;
  518.     }
  519.     public function getAcuerdoSeguridadVigente(): ?string
  520.     {
  521.         return $this->acuerdoSeguridadVigente;
  522.     }
  523.     public function setAcuerdoSeguridadVigente(?string $acuerdoSeguridadVigente): static
  524.     {
  525.         $this->acuerdoSeguridadVigente $acuerdoSeguridadVigente;
  526.         return $this;
  527.     }
  528.     public function getPlanContinuidadNegocio(): ?string
  529.     {
  530.         return $this->planContinuidadNegocio;
  531.     }
  532.     public function setPlanContinuidadNegocio(?string $planContinuidadNegocio): static
  533.     {
  534.         $this->planContinuidadNegocio $planContinuidadNegocio;
  535.         return $this;
  536.     }
  537.     public function getVisitaVigente(): ?string
  538.     {
  539.         return $this->visitaVigente;
  540.     }
  541.     public function setVisitaVigente(?string $visitaVigente): static
  542.     {
  543.         $this->visitaVigente $visitaVigente;
  544.         return $this;
  545.     }
  546.     public function getContrato(): ?string
  547.     {
  548.         return $this->contrato;
  549.     }
  550.     public function setContrato(?string $contrato): static
  551.     {
  552.         $this->contrato $contrato;
  553.         return $this;
  554.     }
  555.     public function getFechaVigenciaContrato(): ?\DateTimeInterface
  556.     {
  557.         return $this->fechaVigenciaContrato;
  558.     }
  559.     public function setFechaVigenciaContrato(?\DateTimeInterface $fechaVigenciaContrato): static
  560.     {
  561.         $this->fechaVigenciaContrato $fechaVigenciaContrato;
  562.         return $this;
  563.     }
  564.     public function getObservacionesEstado(): ?string
  565.     {
  566.         return $this->observacionesEstado;
  567.     }
  568.     public function setObservacionesEstado(?string $observacionesEstado): static
  569.     {
  570.         $this->observacionesEstado $observacionesEstado;
  571.         return $this;
  572.     }
  573.     /**
  574.      * @return Collection<int, RFPrecinto>
  575.      */
  576.     public function getPrecintos(): Collection
  577.     {
  578.         return $this->precintos;
  579.     }
  580.     public function addPrecinto(RFPrecinto $precinto): static
  581.     {
  582.         if (!$this->precintos->contains($precinto)) {
  583.             $this->precintos->add($precinto);
  584.             $precinto->setProveedor($this);
  585.         }
  586.         return $this;
  587.     }
  588.     public function removePrecinto(RFPrecinto $precinto): static
  589.     {
  590.         if ($this->precintos->removeElement($precinto)) {
  591.             // set the owning side to null (unless already changed)
  592.             if ($precinto->getProveedor() === $this) {
  593.                 $precinto->setProveedor(null);
  594.             }
  595.         }
  596.         return $this;
  597.     }
  598.     /**
  599.      * @return Collection<int, RFOrdenCompra>
  600.      */
  601.     public function getOrdenCompra(): Collection
  602.     {
  603.         return $this->ordenCompra;
  604.     }
  605.     public function addOrdenCompra(RFOrdenCompra $ordenCompra): static
  606.     {
  607.         if (!$this->ordenCompra->contains($ordenCompra)) {
  608.             $this->ordenCompra->add($ordenCompra);
  609.             $ordenCompra->setProveedor($this);
  610.         }
  611.         return $this;
  612.     }
  613.     public function removeOrdenCompra(RFOrdenCompra $ordenCompra): static
  614.     {
  615.         if ($this->ordenCompra->removeElement($ordenCompra)) {
  616.             // set the owning side to null (unless already changed)
  617.             if ($ordenCompra->getProveedor() === $this) {
  618.                 $ordenCompra->setProveedor(null);
  619.             }
  620.         }
  621.         return $this;
  622.     }
  623.     /**
  624.      * @return Collection<int, JurOperacionSospechosa>
  625.      */
  626.     public function getOperacionesSospechosas(): Collection
  627.     {
  628.         return $this->operacionesSospechosas;
  629.     }
  630.     public function addOperacionesSospechosa(JurOperacionSospechosa $operacionesSospechosa): static
  631.     {
  632.         if (!$this->operacionesSospechosas->contains($operacionesSospechosa)) {
  633.             $this->operacionesSospechosas->add($operacionesSospechosa);
  634.             $operacionesSospechosa->setProveedor($this);
  635.         }
  636.         return $this;
  637.     }
  638.     public function removeOperacionesSospechosa(JurOperacionSospechosa $operacionesSospechosa): static
  639.     {
  640.         if ($this->operacionesSospechosas->removeElement($operacionesSospechosa)) {
  641.             // set the owning side to null (unless already changed)
  642.             if ($operacionesSospechosa->getProveedor() === $this) {
  643.                 $operacionesSospechosa->setProveedor(null);
  644.             }
  645.         }
  646.         return $this;
  647.     }
  648.     /**
  649.      * @return Collection<int, JurDocumentoLegal>
  650.      */
  651.     public function getDocumentosLegales(): Collection
  652.     {
  653.         return $this->documentosLegales;
  654.     }
  655.     public function addDocumentosLegale(JurDocumentoLegal $documentosLegale): static
  656.     {
  657.         if (!$this->documentosLegales->contains($documentosLegale)) {
  658.             $this->documentosLegales->add($documentosLegale);
  659.             $documentosLegale->setProveedor($this);
  660.         }
  661.         return $this;
  662.     }
  663.     public function removeDocumentosLegale(JurDocumentoLegal $documentosLegale): static
  664.     {
  665.         if ($this->documentosLegales->removeElement($documentosLegale)) {
  666.             // set the owning side to null (unless already changed)
  667.             if ($documentosLegale->getProveedor() === $this) {
  668.                 $documentosLegale->setProveedor(null);
  669.             }
  670.         }
  671.         return $this;
  672.     }
  673. }