src/Entity/Documenti.php line 50

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DocumentiRepository;
  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. use Doctrine\ORM\Mapping\JoinColumn;
  9. use Doctrine\ORM\Mapping\OneToOne;
  10. /**
  11.  * @ORM\Table(name="documenti", indexes={
  12.  *     @ORM\Index(name="documenti_ddt_idx",
  13.  *     columns={
  14.  *      "numero_ddt",
  15.  *      "tipo_documento",
  16.  *      "data_ddt"
  17.  *     }),
  18.  *     @ORM\Index(name="documenti_fatt_idx",
  19.  *     columns={
  20.  *      "numero_fattura",
  21.  *      "tipo_documento",
  22.  *      "data_fattura"
  23.  *     }),
  24.  *     @ORM\Index(name="documenti_idx",
  25.  *     columns={
  26.  *      "documento",
  27.  *      "anno",
  28.  *      "tipo_documento",
  29.  *      "data_documento",
  30.  *      "numero"
  31.  *     }),
  32.  *     @ORM\Index(name="documenti_merc_idx",
  33.  *     columns={
  34.  *      "agente",
  35.  *      "zona",
  36.  *      "tipo_documento"
  37.  *     }),
  38.  *     @ORM\Index(name="documenti_tipo_cod_for_idx",
  39.  *     columns={
  40.  *      "codice_fornitore",
  41.  *      "tipo_documento",
  42.  *      "tipo_anagrafica"
  43.  *     })
  44.  * })
  45.  * @ORM\Entity(repositoryClass=DocumentiRepository::class)
  46.  */
  47. class Documenti
  48. {
  49.     /**
  50.      * @ORM\Id
  51.      * @ORM\GeneratedValue
  52.      * @ORM\Column(type="integer")
  53.      */
  54.     private $id;
  55.     /**
  56.      * @ORM\Column(type="string", length=255, unique=true)
  57.      */
  58.     private $identificativo;
  59.     /**
  60.      * @ORM\OneToMany(targetEntity="App\Entity\DocumentiRighe", mappedBy="identificativoDocumento")
  61.      */
  62.     private $righe;
  63.     /**
  64.      * @ORM\OneToMany(targetEntity="App\Entity\DocumentiAllegati", mappedBy="identificativoDocumento")
  65.      */
  66.     private $allegati;
  67.     /**
  68.      * @ORM\OneToMany(targetEntity="App\Entity\DocumentiRegistroAttivita", mappedBy="identificativoDocumento")
  69.      */
  70.     private $registroAttivita;
  71.     /**
  72.      * @ORM\Column(type="string", length=255, nullable=true)
  73.      */
  74.     private $documento;
  75.     /**
  76.      * @ORM\Column(type="string", length=50, nullable=true)
  77.      */
  78.     private $tipoDocumento;
  79.     /**
  80.      * @ORM\Column(type="smallint", nullable=true)
  81.      */
  82.     private $anno;
  83.     /**
  84.      * @ORM\Column(type="datetime", nullable=true)
  85.      */
  86.     private $dataDocumento;
  87.     /**
  88.      * @ORM\Column(type="integer", nullable=true)
  89.      */
  90.     private $numero;
  91.     /**
  92.      * @ORM\Column(type="string", length=20, nullable=true)
  93.      */
  94.     private $numeroFattura;
  95.     /**
  96.      * @ORM\Column(type="date", nullable=true)
  97.      */
  98.     private $dataFattura;
  99.     /**
  100.      * @ORM\Column(type="string", length=20, nullable=true)
  101.      */
  102.     private $numeroDdt;
  103.     /**
  104.      * @ORM\Column(type="date", nullable=true)
  105.      */
  106.     private $dataDdt;
  107.     /**
  108.      * @ORM\Column(type="string", length=255, nullable=true)
  109.      */
  110.     private $agente;
  111.     /**
  112.      * @ORM\Column(type="string", length=255, nullable=true)
  113.      */
  114.     private $codiceAnagrafica;
  115.     /**
  116.      * @ORM\Column(type="string", length=255, nullable=true)
  117.      */
  118.     private $vincolaIdentificativoUtente;
  119.     /**
  120.      * @ORM\Column(type="string", length=255, nullable=true)
  121.      */
  122.     private $tipoAnagrafica;
  123.     /**
  124.      * @ORM\Column(type="string", length=255, nullable=true)
  125.      */
  126.     private $ragioneSociale;
  127.     /**
  128.      * @ORM\Column(type="string", length=255, nullable=true)
  129.      */
  130.     private $indirizzo;
  131.     /**
  132.      * @ORM\Column(type="string", length=255, nullable=true)
  133.      */
  134.     private $citta;
  135.     /**
  136.      * @ORM\Column(type="string", length=255, nullable=true)
  137.      */
  138.     private $provincia;
  139.     /**
  140.      * @ORM\Column(type="string", length=255, nullable=true)
  141.      */
  142.     private $cap;
  143.     /**
  144.      * @ORM\Column(type="string", length=255, nullable=true)
  145.      */
  146.     private $regione;
  147.     /**
  148.      * @ORM\Column(type="string", length=255, nullable=true)
  149.      */
  150.     private $codiceFiscale;
  151.     /**
  152.      * @ORM\Column(type="string", length=255, nullable=true)
  153.      */
  154.     private $partitaIva;
  155.     /**
  156.      * @ORM\Column(type="string", length=255, nullable=true)
  157.      */
  158.     private $modalitaPagamento;
  159.     /**
  160.      * @ORM\Column(type="string", length=255, nullable=true)
  161.      */
  162.     private $modalitaSpedizione;
  163.     /**
  164.      * @ORM\Column(type="string", length=255, nullable=true)
  165.      */
  166.     private $modalitaConsegna;
  167.     /**
  168.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  169.      */
  170.     private $totaleDocumentoNetto;
  171.     /**
  172.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  173.      */
  174.     private $totaleCostoNetto;
  175.     /**
  176.      * @ORM\Column(type="string", length=255, nullable=true)
  177.      */
  178.     private $zona;
  179.     /**
  180.      * @ORM\Column(type="string", length=255, nullable=true)
  181.      */
  182.     private $mercato;
  183.     /**
  184.      * @ORM\Column(type="string", length=255, nullable=true)
  185.      */
  186.     private $subAgente;
  187.     /**
  188.      * @ORM\Column(type="string", length=255, nullable=true)
  189.      */
  190.     private $capoArea;
  191.     /**
  192.      * @ORM\Column(type="string", length=255, nullable=true)
  193.      */
  194.     private $nomeFilePdfDocumento;
  195.     /**
  196.      * @ORM\Column(type="string", length=255, nullable=true)
  197.      */
  198.     private $nomeFilePdfFattura;
  199.     /**
  200.      * @ORM\Column(type="string", length=255, nullable=true)
  201.      */
  202.     private $nomefilePdfDdt;
  203.     /**
  204.      * @ORM\Column(type="string", length=255, nullable=true)
  205.      */
  206.     private $statoAvanzamento;
  207.     /**
  208.      * @ORM\Column(type="string", length=255, nullable=true)
  209.      */
  210.     private $indirizzoTrackingCorriere;
  211.     /**
  212.      * @ORM\Column(type="string", length=255, nullable=true)
  213.      */
  214.     private $codiceAgente;
  215.     /**
  216.      * @ORM\Column(type="string", length=255, nullable=true)
  217.      */
  218.     private $codiceFornitore;
  219.     /**
  220.      * @ORM\Column(type="string", length=255, nullable=true)
  221.      */
  222.     private $utente;
  223.     /**
  224.      * @ORM\Column(type="datetime", nullable=true)
  225.      */
  226.     private $dataConsegna;
  227.     /**
  228.      * @ORM\Column(type="datetime", nullable=true)
  229.      */
  230.     private $dataCreazione;
  231.     /**
  232.      * @ORM\Column(type="datetime", nullable=true)
  233.      */
  234.     private $dataModifica;
  235.     /**
  236.      * @ORM\Column(type="string", length=255, nullable=true)
  237.      */
  238.     private $variabileStringa1;
  239.     /**
  240.      * @ORM\Column(type="string", length=255, nullable=true)
  241.      */
  242.     private $variabileStringa2;
  243.     /**
  244.      * @ORM\Column(type="string", length=255, nullable=true)
  245.      */
  246.     private $variabileStringa3;
  247.     /**
  248.      * @ORM\Column(type="string", length=255, nullable=true)
  249.      */
  250.     private $variabileStringa4;
  251.     /**
  252.      * @ORM\Column(type="string", length=255, nullable=true)
  253.      */
  254.     private $variabileStringa5;
  255.     /**
  256.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  257.      */
  258.     private $variabileDecimale1;
  259.     /**
  260.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  261.      */
  262.     private $variabileDecimale2;
  263.     /**
  264.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  265.      */
  266.     private $variabileDecimale3;
  267.     /**
  268.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  269.      */
  270.     private $variabileDecimale4;
  271.     /**
  272.      * @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)
  273.      */
  274.     private $variabileDecimale5;
  275.     /**
  276.      * @ORM\Column(type="datetime", nullable=true)
  277.      */
  278.     private $variabileDataora1;
  279.     /**
  280.      * @ORM\Column(type="datetime", nullable=true)
  281.      */
  282.     private $variabileDataora2;
  283.     /**
  284.      * @ORM\Column(type="datetime", nullable=true)
  285.      */
  286.     private $variabileDataora3;
  287.     /**
  288.      * @ORM\Column(type="boolean", nullable=true)
  289.      */
  290.     private $variabileBooleana1;
  291.     /**
  292.      * @ORM\Column(type="boolean", nullable=true)
  293.      */
  294.     private $variabileBooleana2;
  295.     /**
  296.      * @ORM\Column(type="boolean", nullable=true)
  297.      */
  298.     private $variabileBooleana3;
  299.     public function __construct()
  300.     {
  301.         $this->righe = new ArrayCollection();
  302.         $this->allegati = new ArrayCollection();
  303.         $this->registroAttivita = new ArrayCollection();
  304.     }
  305.     public function getId(): ?int
  306.     {
  307.         return $this->id;
  308.     }
  309.     public function getIdentificativo(): ?string
  310.     {
  311.         return $this->identificativo;
  312.     }
  313.     public function setIdentificativo(string $identificativo): static
  314.     {
  315.         $this->identificativo $identificativo;
  316.         return $this;
  317.     }
  318.     public function getDocumento(): ?string
  319.     {
  320.         return $this->documento;
  321.     }
  322.     public function setDocumento(?string $documento): static
  323.     {
  324.         $this->documento $documento;
  325.         return $this;
  326.     }
  327.     public function getAnno(): ?int
  328.     {
  329.         return $this->anno;
  330.     }
  331.     public function setAnno(?int $anno): static
  332.     {
  333.         $this->anno $anno;
  334.         return $this;
  335.     }
  336.     public function getDataDocumento(): ?\DateTimeInterface
  337.     {
  338.         return $this->dataDocumento;
  339.     }
  340.     public function setDataDocumento(?\DateTimeInterface $dataDocumento): static
  341.     {
  342.         $this->dataDocumento $dataDocumento;
  343.         return $this;
  344.     }
  345.     public function getNumero(): ?int
  346.     {
  347.         return $this->numero;
  348.     }
  349.     public function setNumero(?int $numero): static
  350.     {
  351.         $this->numero $numero;
  352.         return $this;
  353.     }
  354.     public function getNumeroFattura(): ?string
  355.     {
  356.         return $this->numeroFattura;
  357.     }
  358.     public function setNumeroFattura(?string $numeroFattura): static
  359.     {
  360.         $this->numeroFattura $numeroFattura;
  361.         return $this;
  362.     }
  363.     public function getDataFattura(): ?\DateTimeInterface
  364.     {
  365.         return $this->dataFattura;
  366.     }
  367.     public function setDataFattura(?\DateTimeInterface $dataFattura): static
  368.     {
  369.         $this->dataFattura $dataFattura;
  370.         return $this;
  371.     }
  372.     public function getNumeroDdt(): ?string
  373.     {
  374.         return $this->numeroDdt;
  375.     }
  376.     public function setNumeroDdt(?string $numeroDdt): static
  377.     {
  378.         $this->numeroDdt $numeroDdt;
  379.         return $this;
  380.     }
  381.     public function getDataDdt(): ?\DateTimeInterface
  382.     {
  383.         return $this->dataDdt;
  384.     }
  385.     public function setDataDdt(?\DateTimeInterface $dataDdt): static
  386.     {
  387.         $this->dataDdt $dataDdt;
  388.         return $this;
  389.     }
  390.     public function getAgente(): ?string
  391.     {
  392.         return $this->agente;
  393.     }
  394.     public function setAgente(?string $agente): static
  395.     {
  396.         $this->agente $agente;
  397.         return $this;
  398.     }
  399.     public function getCodiceAnagrafica(): ?string
  400.     {
  401.         return $this->codiceAnagrafica;
  402.     }
  403.     public function setCodiceAnagrafica(?string $codiceAnagrafica): static
  404.     {
  405.         $this->codiceAnagrafica $codiceAnagrafica;
  406.         return $this;
  407.     }
  408.     public function getTipoAnagrafica(): ?string
  409.     {
  410.         return $this->tipoAnagrafica;
  411.     }
  412.     public function setTipoAnagrafica(?string $tipoAnagrafica): static
  413.     {
  414.         $this->tipoAnagrafica $tipoAnagrafica;
  415.         return $this;
  416.     }
  417.     public function getRagioneSociale(): ?string
  418.     {
  419.         return $this->ragioneSociale;
  420.     }
  421.     public function setRagioneSociale(?string $ragioneSociale): static
  422.     {
  423.         $this->ragioneSociale $ragioneSociale;
  424.         return $this;
  425.     }
  426.     public function getIndirizzo(): ?string
  427.     {
  428.         return $this->indirizzo;
  429.     }
  430.     public function setIndirizzo(?string $indirizzo): static
  431.     {
  432.         $this->indirizzo $indirizzo;
  433.         return $this;
  434.     }
  435.     public function getCitta(): ?string
  436.     {
  437.         return $this->citta;
  438.     }
  439.     public function setCitta(?string $citta): static
  440.     {
  441.         $this->citta $citta;
  442.         return $this;
  443.     }
  444.     public function getProvincia(): ?string
  445.     {
  446.         return $this->provincia;
  447.     }
  448.     public function setProvincia(?string $provincia): static
  449.     {
  450.         $this->provincia $provincia;
  451.         return $this;
  452.     }
  453.     public function getRegione(): ?string
  454.     {
  455.         return $this->regione;
  456.     }
  457.     public function setRegione(?string $regione): static
  458.     {
  459.         $this->regione $regione;
  460.         return $this;
  461.     }
  462.     public function getCodiceFiscale(): ?string
  463.     {
  464.         return $this->codiceFiscale;
  465.     }
  466.     public function setCodiceFiscale(?string $codiceFiscale): static
  467.     {
  468.         $this->codiceFiscale $codiceFiscale;
  469.         return $this;
  470.     }
  471.     public function getPartitaIva(): ?string
  472.     {
  473.         return $this->partitaIva;
  474.     }
  475.     public function setPartitaIva(?string $partitaIva): static
  476.     {
  477.         $this->partitaIva $partitaIva;
  478.         return $this;
  479.     }
  480.     public function getModalitaPagamento(): ?string
  481.     {
  482.         return $this->modalitaPagamento;
  483.     }
  484.     public function setModalitaPagamento(?string $modalitaPagamento): static
  485.     {
  486.         $this->modalitaPagamento $modalitaPagamento;
  487.         return $this;
  488.     }
  489.     public function getModalitaSpedizione(): ?string
  490.     {
  491.         return $this->modalitaSpedizione;
  492.     }
  493.     public function setModalitaSpedizione(?string $modalitaSpedizione): static
  494.     {
  495.         $this->modalitaSpedizione $modalitaSpedizione;
  496.         return $this;
  497.     }
  498.     public function getModalitaConsegna(): ?string
  499.     {
  500.         return $this->modalitaConsegna;
  501.     }
  502.     public function setModalitaConsegna(?string $modalitaConsegna): static
  503.     {
  504.         $this->modalitaConsegna $modalitaConsegna;
  505.         return $this;
  506.     }
  507.     public function getTotaleDocumentoNetto(): ?string
  508.     {
  509.         return $this->totaleDocumentoNetto;
  510.     }
  511.     public function setTotaleDocumentoNetto(?string $totaleDocumentoNetto): static
  512.     {
  513.         $this->totaleDocumentoNetto $totaleDocumentoNetto;
  514.         return $this;
  515.     }
  516.     public function getTotaleCostoNetto(): ?string
  517.     {
  518.         return $this->totaleCostoNetto;
  519.     }
  520.     public function setTotaleCostoNetto(?string $totaleCostoNetto): static
  521.     {
  522.         $this->totaleCostoNetto $totaleCostoNetto;
  523.         return $this;
  524.     }
  525.     public function getZona(): ?string
  526.     {
  527.         return $this->zona;
  528.     }
  529.     public function setZona(?string $zona): static
  530.     {
  531.         $this->zona $zona;
  532.         return $this;
  533.     }
  534.     public function getMercato(): ?string
  535.     {
  536.         return $this->mercato;
  537.     }
  538.     public function setMercato(?string $mercato): static
  539.     {
  540.         $this->mercato $mercato;
  541.         return $this;
  542.     }
  543.     public function getSubAgente(): ?string
  544.     {
  545.         return $this->subAgente;
  546.     }
  547.     public function setSubAgente(?string $subAgente): static
  548.     {
  549.         $this->subAgente $subAgente;
  550.         return $this;
  551.     }
  552.     public function getCapoArea(): ?string
  553.     {
  554.         return $this->capoArea;
  555.     }
  556.     public function setCapoArea(?string $capoArea): static
  557.     {
  558.         $this->capoArea $capoArea;
  559.         return $this;
  560.     }
  561.     public function getNomeFilePdfDocumento(): ?string
  562.     {
  563.         return $this->nomeFilePdfDocumento;
  564.     }
  565.     public function setNomeFilePdfDocumento(?string $nomeFilePdfDocumento): static
  566.     {
  567.         $this->nomeFilePdfDocumento $nomeFilePdfDocumento;
  568.         return $this;
  569.     }
  570.     public function getNomeFilePdfFattura(): ?string
  571.     {
  572.         return $this->nomeFilePdfFattura;
  573.     }
  574.     public function setNomeFilePdfFattura(?string $nomeFilePdfFattura): static
  575.     {
  576.         $this->nomeFilePdfFattura $nomeFilePdfFattura;
  577.         return $this;
  578.     }
  579.     public function getNomefilePdfDdt(): ?string
  580.     {
  581.         return $this->nomefilePdfDdt;
  582.     }
  583.     public function setNomefilePdfDdt(?string $nomefilePdfDdt): static
  584.     {
  585.         $this->nomefilePdfDdt $nomefilePdfDdt;
  586.         return $this;
  587.     }
  588.     public function getStatoAvanzamento(): ?string
  589.     {
  590.         return $this->statoAvanzamento;
  591.     }
  592.     public function setStatoAvanzamento(?string $statoAvanzamento): static
  593.     {
  594.         $this->statoAvanzamento $statoAvanzamento;
  595.         return $this;
  596.     }
  597.     public function getIndirizzoTrackingCorriere(): ?string
  598.     {
  599.         return $this->indirizzoTrackingCorriere;
  600.     }
  601.     public function setIndirizzoTrackingCorriere(?string $indirizzoTrackingCorriere): static
  602.     {
  603.         $this->indirizzoTrackingCorriere $indirizzoTrackingCorriere;
  604.         return $this;
  605.     }
  606.     public function getCodiceAgente(): ?string
  607.     {
  608.         return $this->codiceAgente;
  609.     }
  610.     public function setCodiceAgente(?string $codiceAgente): static
  611.     {
  612.         $this->codiceAgente $codiceAgente;
  613.         return $this;
  614.     }
  615.     public function getCodiceFornitore(): ?string
  616.     {
  617.         return $this->codiceFornitore;
  618.     }
  619.     public function setCodiceFornitore(?string $codiceFornitore): static
  620.     {
  621.         $this->codiceFornitore $codiceFornitore;
  622.         return $this;
  623.     }
  624.     public function getUtente(): ?string
  625.     {
  626.         return $this->utente;
  627.     }
  628.     public function setUtente(?string $utente): static
  629.     {
  630.         $this->utente $utente;
  631.         return $this;
  632.     }
  633.     public function getDataConsegna(): ?\DateTimeInterface
  634.     {
  635.         return $this->dataConsegna;
  636.     }
  637.     public function setDataConsegna(?\DateTimeInterface $dataConsegna): static
  638.     {
  639.         $this->dataConsegna $dataConsegna;
  640.         return $this;
  641.     }
  642.     public function getDataCreazione(): ?\DateTimeInterface
  643.     {
  644.         return $this->dataCreazione;
  645.     }
  646.     public function setDataCreazione(?\DateTimeInterface $dataCreazione): static
  647.     {
  648.         $this->dataCreazione $dataCreazione;
  649.         return $this;
  650.     }
  651.     public function getDataModifica(): ?\DateTimeInterface
  652.     {
  653.         return $this->dataModifica;
  654.     }
  655.     public function setDataModifica(?\DateTimeInterface $dataModifica): static
  656.     {
  657.         $this->dataModifica $dataModifica;
  658.         return $this;
  659.     }
  660.     public function getVariabileStringa1(): ?string
  661.     {
  662.         return $this->variabileStringa1;
  663.     }
  664.     public function setVariabileStringa1(?string $variabileStringa1): static
  665.     {
  666.         $this->variabileStringa1 $variabileStringa1;
  667.         return $this;
  668.     }
  669.     public function getVariabileStringa2(): ?string
  670.     {
  671.         return $this->variabileStringa2;
  672.     }
  673.     public function setVariabileStringa2(?string $variabileStringa2): static
  674.     {
  675.         $this->variabileStringa2 $variabileStringa2;
  676.         return $this;
  677.     }
  678.     public function getVariabileStringa3(): ?string
  679.     {
  680.         return $this->variabileStringa3;
  681.     }
  682.     public function setVariabileStringa3(?string $variabileStringa3): static
  683.     {
  684.         $this->variabileStringa3 $variabileStringa3;
  685.         return $this;
  686.     }
  687.     public function getVariabileStringa4(): ?string
  688.     {
  689.         return $this->variabileStringa4;
  690.     }
  691.     public function setVariabileStringa4(?string $variabileStringa4): static
  692.     {
  693.         $this->variabileStringa4 $variabileStringa4;
  694.         return $this;
  695.     }
  696.     public function getVariabileStringa5(): ?string
  697.     {
  698.         return $this->variabileStringa5;
  699.     }
  700.     public function setVariabileStringa5(?string $variabileStringa5): static
  701.     {
  702.         $this->variabileStringa5 $variabileStringa5;
  703.         return $this;
  704.     }
  705.     public function getVariabileDecimale1(): ?string
  706.     {
  707.         return $this->variabileDecimale1;
  708.     }
  709.     public function setVariabileDecimale1(?string $variabileDecimale1): static
  710.     {
  711.         $this->variabileDecimale1 $variabileDecimale1;
  712.         return $this;
  713.     }
  714.     public function getVariabileDecimale2(): ?string
  715.     {
  716.         return $this->variabileDecimale2;
  717.     }
  718.     public function setVariabileDecimale2(?string $variabileDecimale2): static
  719.     {
  720.         $this->variabileDecimale2 $variabileDecimale2;
  721.         return $this;
  722.     }
  723.     public function getVariabileDecimale3(): ?string
  724.     {
  725.         return $this->variabileDecimale3;
  726.     }
  727.     public function setVariabileDecimale3(?string $variabileDecimale3): static
  728.     {
  729.         $this->variabileDecimale3 $variabileDecimale3;
  730.         return $this;
  731.     }
  732.     public function getVariabileDecimale4(): ?string
  733.     {
  734.         return $this->variabileDecimale4;
  735.     }
  736.     public function setVariabileDecimale4(?string $variabileDecimale4): static
  737.     {
  738.         $this->variabileDecimale4 $variabileDecimale4;
  739.         return $this;
  740.     }
  741.     public function getVariabileDecimale5(): ?string
  742.     {
  743.         return $this->variabileDecimale5;
  744.     }
  745.     public function setVariabileDecimale5(?string $variabileDecimale5): static
  746.     {
  747.         $this->variabileDecimale5 $variabileDecimale5;
  748.         return $this;
  749.     }
  750.     public function getVariabileDataora1(): ?\DateTimeInterface
  751.     {
  752.         return $this->variabileDataora1;
  753.     }
  754.     public function setVariabileDataora1(?\DateTimeInterface $variabileDataora1): static
  755.     {
  756.         $this->variabileDataora1 $variabileDataora1;
  757.         return $this;
  758.     }
  759.     public function getVariabileDataora2(): ?\DateTimeInterface
  760.     {
  761.         return $this->variabileDataora2;
  762.     }
  763.     public function setVariabileDataora2(?\DateTimeInterface $variabileDataora2): static
  764.     {
  765.         $this->variabileDataora2 $variabileDataora2;
  766.         return $this;
  767.     }
  768.     public function getVariabileDataora3(): ?\DateTimeInterface
  769.     {
  770.         return $this->variabileDataora3;
  771.     }
  772.     public function setVariabileDataora3(?\DateTimeInterface $variabileDataora3): static
  773.     {
  774.         $this->variabileDataora3 $variabileDataora3;
  775.         return $this;
  776.     }
  777.     public function getVariabileBooleana1(): ?bool
  778.     {
  779.         return $this->variabileBooleana1;
  780.     }
  781.     public function setVariabileBooleana1(?bool $variabileBooleana1): static
  782.     {
  783.         $this->variabileBooleana1 $variabileBooleana1;
  784.         return $this;
  785.     }
  786.     public function getVariabileBooleana2(): ?bool
  787.     {
  788.         return $this->variabileBooleana2;
  789.     }
  790.     public function setVariabileBooleana2(?bool $variabileBooleana2): static
  791.     {
  792.         $this->variabileBooleana2 $variabileBooleana2;
  793.         return $this;
  794.     }
  795.     public function getVariabileBooleana3(): ?bool
  796.     {
  797.         return $this->variabileBooleana3;
  798.     }
  799.     public function setVariabileBooleana3(?bool $variabileBooleana3): static
  800.     {
  801.         $this->variabileBooleana3 $variabileBooleana3;
  802.         return $this;
  803.     }
  804.     /**
  805.      * @return Collection<int, DocumentiRighe>
  806.      */
  807.     public function getRighe(): Collection
  808.     {
  809.         return $this->righe;
  810.     }
  811.     public function addRighe(DocumentiRighe $righe): static
  812.     {
  813.         if (!$this->righe->contains($righe)) {
  814.             $this->righe->add($righe);
  815.             $righe->setIdentificativoDocumento($this);
  816.         }
  817.         return $this;
  818.     }
  819.     public function removeRighe(DocumentiRighe $righe): static
  820.     {
  821.         if ($this->righe->removeElement($righe)) {
  822.             // set the owning side to null (unless already changed)
  823.             if ($righe->getIdentificativoDocumento() === $this) {
  824.                 $righe->setIdentificativoDocumento(null);
  825.             }
  826.         }
  827.         return $this;
  828.     }
  829.     /**
  830.      * @return Collection<int, DocumentiAllegati>
  831.      */
  832.     public function getAllegati(): Collection
  833.     {
  834.         return $this->allegati;
  835.     }
  836.     public function addAllegati(DocumentiAllegati $allegati): static
  837.     {
  838.         if (!$this->allegati->contains($allegati)) {
  839.             $this->allegati->add($allegati);
  840.             $allegati->setIdentificativoDocumento($this);
  841.         }
  842.         return $this;
  843.     }
  844.     public function removeAllegati(DocumentiAllegati $allegati): static
  845.     {
  846.         if ($this->allegati->removeElement($allegati)) {
  847.             // set the owning side to null (unless already changed)
  848.             if ($allegati->getIdentificativoDocumento() === $this) {
  849.                 $allegati->setIdentificativoDocumento(null);
  850.             }
  851.         }
  852.         return $this;
  853.     }
  854.     /**
  855.      * @return Collection<int, DocumentiRegistroAttivita>
  856.      */
  857.     public function getRegistroAttivita(): Collection
  858.     {
  859.         return $this->registroAttivita;
  860.     }
  861.     public function addRegistroAttivitum(DocumentiRegistroAttivita $registroAttivitum): static
  862.     {
  863.         if (!$this->registroAttivita->contains($registroAttivitum)) {
  864.             $this->registroAttivita->add($registroAttivitum);
  865.             $registroAttivitum->setIdentificativoDocumento($this);
  866.         }
  867.         return $this;
  868.     }
  869.     public function removeRegistroAttivitum(DocumentiRegistroAttivita $registroAttivitum): static
  870.     {
  871.         if ($this->registroAttivita->removeElement($registroAttivitum)) {
  872.             // set the owning side to null (unless already changed)
  873.             if ($registroAttivitum->getIdentificativoDocumento() === $this) {
  874.                 $registroAttivitum->setIdentificativoDocumento(null);
  875.             }
  876.         }
  877.         return $this;
  878.     }
  879.     public function getCap(): ?string
  880.     {
  881.         return $this->cap;
  882.     }
  883.     public function setCap(?string $cap): static
  884.     {
  885.         $this->cap $cap;
  886.         return $this;
  887.     }
  888.     public function getTipoDocumento(): ?string
  889.     {
  890.         return $this->tipoDocumento;
  891.     }
  892.     public function setTipoDocumento(?string $tipoDocumento): static
  893.     {
  894.         $this->tipoDocumento $tipoDocumento;
  895.         return $this;
  896.     }
  897.     public function getVincolaIdentificativoUtente(): ?string
  898.     {
  899.         return $this->vincolaIdentificativoUtente;
  900.     }
  901.     public function setVincolaIdentificativoUtente(?string $vincolaIdentificativoUtente): static
  902.     {
  903.         $this->vincolaIdentificativoUtente $vincolaIdentificativoUtente;
  904.         return $this;
  905.     }
  906.     public function isVariabileBooleana1(): ?bool
  907.     {
  908.         return $this->variabileBooleana1;
  909.     }
  910.     public function isVariabileBooleana2(): ?bool
  911.     {
  912.         return $this->variabileBooleana2;
  913.     }
  914.     public function isVariabileBooleana3(): ?bool
  915.     {
  916.         return $this->variabileBooleana3;
  917.     }
  918. }