src/Entity/Offerte.php line 19

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * Offerte
  9.  *
  10.  * @ORM\Table(name="offerte", indexes={
  11.  *     @ORM\Index(name="offerte_codice_idx", columns={"codice_cliente"}),
  12.  *     @ORM\Index(name="offerte_codice_numero_idx", columns={"codice_cliente","documento","numero","anno"})
  13.  * })
  14.  * @ORM\Entity(repositoryClass="App\Repository\OfferteRepository")
  15.  */
  16. class Offerte
  17. {
  18.     /**
  19.      * @var int
  20.      *
  21.      * @ORM\Column(name="id", type="integer")
  22.      * @ORM\Id
  23.      * @ORM\GeneratedValue(strategy="AUTO")
  24.      */
  25.     private $id;
  26.     /**
  27.      * @ORM\OneToMany(targetEntity="App\Entity\OfferteRighe", mappedBy="offerta", cascade={"remove"}, orphanRemoval=true)
  28.      */
  29.     private $righe;
  30.     /**
  31.      * @var string
  32.      *
  33.      * @ORM\Column(name="codice_cliente", type="string", length=100, nullable=true)
  34.      */
  35.     private $codiceCliente;
  36.     /**
  37.      * @var string
  38.      *
  39.      * @ORM\Column(name="ragione_sociale", type="string", length=255, nullable=true)
  40.      */
  41.     private $ragioneSociale;
  42.     /**
  43.      * @var string
  44.      *
  45.      * @ORM\Column(name="città", type="string", length=255, nullable=true)
  46.      */
  47.     private $citta;
  48.     /**
  49.      * @var string
  50.      *
  51.      * @ORM\Column(name="provincia", type="string", length=255, nullable=true)
  52.      */
  53.     private $provincia;
  54.     /**
  55.      * @var string
  56.      *
  57.      * @ORM\Column(name="cap", type="string", length=255, nullable=true)
  58.      */
  59.     private $cap;
  60.     /**
  61.      * @var string
  62.      *
  63.      * @ORM\Column(name="indirizzo", type="string", length=255, nullable=true)
  64.      */
  65.     private $indirizzo;
  66.     /**
  67.      * @var string
  68.      *
  69.      * @ORM\Column(name="telefono", type="string", length=255, nullable=true)
  70.      */
  71.     private $telefono;
  72.     /**
  73.      * @var string
  74.      *
  75.      * @ORM\Column(name="nazione", type="string", length=255, nullable=true)
  76.      */
  77.     private $nazione;
  78.     /**
  79.      * @var string
  80.      *
  81.      * @ORM\Column(name="codice_fiscale", type="string", length=255, nullable=true)
  82.      */
  83.     private $codiceFiscale;
  84.     /**
  85.      * @var string
  86.      *
  87.      * @ORM\Column(name="partita_iva", type="string", length=255, nullable=true)
  88.      */
  89.     private $partitaIva;
  90.     /**
  91.      * @var string
  92.      *
  93.      * @ORM\Column(name="destinazione_ragione_sociale", type="string", length=255, nullable=true)
  94.      */
  95.     private $destinazioneRagioneSociale;
  96.     /**
  97.      * @var string
  98.      *
  99.      * @ORM\Column(name="destinazione_città", type="string", length=255, nullable=true)
  100.      */
  101.     private $destinazioneCitta;
  102.     /**
  103.      * @var string
  104.      *
  105.      * @ORM\Column(name="destinazione_provincia", type="string", length=255, nullable=true)
  106.      */
  107.     private $destinazioneProvincia;
  108.     /**
  109.      * @var string
  110.      *
  111.      * @ORM\Column(name="destinazione_cap", type="string", length=255, nullable=true)
  112.      */
  113.     private $destinazioneCap;
  114.     /**
  115.      * @var string
  116.      *
  117.      * @ORM\Column(name="destinazione_indirizzo", type="string", length=255, nullable=true)
  118.      */
  119.     private $destinazioneIndirizzo;
  120.     /**
  121.      * @var string
  122.      *
  123.      * @ORM\Column(name="destinazione_nazione", type="string", length=255, nullable=true)
  124.      */
  125.     private $destinazioneNazione;
  126.     /**
  127.      * @var string
  128.      *
  129.      * @ORM\Column(name="note", type="text", nullable=true)
  130.      */
  131.     private $note;
  132.     /**
  133.      * @var string
  134.      *
  135.      * @ORM\Column(name="note_aziendali", type="text", nullable=true)
  136.      */
  137.     private $noteAziendali;
  138.     /**
  139.      * @var string
  140.      *
  141.      * @ORM\Column(name="riferimento", type="string", length=255, nullable=true)
  142.      */
  143.     private $riferimento;
  144.     /**
  145.      * @ORM\ManyToOne(targetEntity="App\Entity\Anagrafiche")
  146.      * @ORM\JoinColumn(name="collegamento_anagrafica_id", referencedColumnName="id", onDelete="SET NULL")
  147.      */
  148.     private $collegamentoAnagrafica;
  149.     /**
  150.      * @var string
  151.      *
  152.      * @ORM\Column(name="descrizione_breve", type="string", length=255, nullable=true)
  153.      */
  154.     private $descrizioneBreve;
  155.     /**
  156.      * @var string
  157.      *
  158.      * @ORM\Column(name="descrizione_lunga", type="text",  nullable=true)
  159.      */
  160.     private $descrizioneLunga;
  161.     /**
  162.      * @var \DateTime
  163.      *
  164.      * @ORM\Column(name="data_documento", type="datetime", nullable=true)
  165.      */
  166.     private $dataDocumento;
  167.     /**
  168.      * @var \DateTime
  169.      *
  170.      * @ORM\Column(name="data_creazione", type="datetime")
  171.      */
  172.     private $dataCreazione;
  173.     /**
  174.      * @var \DateTime
  175.      *
  176.      * @ORM\Column(name="data_modifica", type="datetime")
  177.      */
  178.     private $dataModifica;
  179.     /**
  180.      * @var \DateTime
  181.      *
  182.      * @ORM\Column(name="data_ultimo_invio_riepilogo_offerta", type="datetime", nullable=true)
  183.      */
  184.     private $dataUltimoInvioRiepilogoOfferta;
  185.     /**
  186.      * @ORM\ManyToOne(targetEntity="User")
  187.      * @ORM\JoinColumn(name="utente_modifica_id", referencedColumnName="id", onDelete="SET NULL")
  188.      */
  189.     private $utenteModifica;
  190.     /**
  191.      * @var string
  192.      *
  193.      * @ORM\Column(name="moneta", type="string", length=10, nullable=true)
  194.      */
  195.     private $moneta;
  196.     /**
  197.      * @var string
  198.      *
  199.      * @ORM\Column(name="importo", type="decimal", precision=18, scale=5, nullable=true)
  200.      */
  201.     private $importo;
  202.     /**
  203.      * @var boolean
  204.      *
  205.      * @ORM\Column(name="importante", type="boolean", nullable=true)
  206.      */
  207.     private $importante;
  208.     /**
  209.      * @var string
  210.      *
  211.      * @ORM\Column(name="stato", type="string", length=255, nullable=true)
  212.      */
  213.     private $stato;
  214.     /**
  215.      * @var string
  216.      *
  217.      * @ORM\Column(name="documento", type="string", length=50, nullable=true)
  218.      */
  219.     private $documento;
  220.     /**
  221.      * @var string
  222.      *
  223.      * @ORM\Column(name="path_pdf_originale", type="string", length=255, nullable=true)
  224.      */
  225.     private $pathPdfOriginale;
  226.     /**
  227.      * @var string
  228.      *
  229.      * @ORM\Column(name="numero", type="string", length=50, nullable=true)
  230.      */
  231.     private $numero;
  232.     /**
  233.      * @var string
  234.      *
  235.      * @ORM\Column(name="anno", type="string", length=4, nullable=true)
  236.      */
  237.     private $anno;
  238.     /**
  239.      * @var array
  240.      *
  241.      * @ORM\Column(name="permessi_lettura", type="simple_array", nullable=true)
  242.      */
  243.     private $permessiLettura;
  244.     /**
  245.      * @var array
  246.      *
  247.      * @ORM\Column(name="permessi_scrittura", type="simple_array", nullable=true)
  248.      */
  249.     private $permessiScrittura;
  250.     /**
  251.      * @var \DateTime
  252.      *
  253.      * @ORM\Column(name="data_eliminazione", type="datetime", nullable=true)
  254.      */
  255.     private $dataEliminazione;
  256.     /**
  257.      * @ORM\OneToMany(targetEntity="App\Entity\OfferteAllegati", mappedBy="offerta", cascade={"remove"}, orphanRemoval=true)
  258.      */
  259.     private $allegati;
  260.     /**
  261.      * @ORM\OneToMany(targetEntity="App\Entity\OfferteContattiClienti", mappedBy="offerta", cascade={"remove"}, orphanRemoval=true)
  262.      */
  263.     private $contattiClienti;
  264.     /**
  265.      * @ORM\OneToMany(targetEntity="App\Entity\OfferteRegistroEventi", mappedBy="offerta", cascade={"remove"}, orphanRemoval=true)
  266.      * @ORM\OrderBy({"dataModifica"="DESC"})
  267.      */
  268.     private $registroEventi;
  269.     /**
  270.      * Constructor
  271.      */
  272.     public function __construct()
  273.     {
  274.         $this->righe = new \Doctrine\Common\Collections\ArrayCollection();
  275.         $this->allegati = new \Doctrine\Common\Collections\ArrayCollection();
  276.         $this->contattiClienti = new \Doctrine\Common\Collections\ArrayCollection();
  277.         $this->registroEventi = new \Doctrine\Common\Collections\ArrayCollection();
  278.     }
  279.     /**
  280.      * @param $numeroRiga
  281.      * @return OfferteRighe|mixed|null
  282.      */
  283.     public function RitornaRigaDaNumero($numeroRiga){
  284.         /** @var OfferteRighe $r */
  285.         foreach ($this->getRighe() as $r){
  286.             if($r->getNumeroRiga() == $numeroRiga){
  287.                 return $r;
  288.             }
  289.         }
  290.         return null;
  291.     }
  292.     /**
  293.      * @param $identificativo
  294.      * @return OfferteRegistroEventi|mixed|null
  295.      */
  296.     public function RitornaRegistroEventoDaIdentificativo($identificativo){
  297.         /** @var OfferteRegistroEventi $reg */
  298.         foreach ($this->getRegistroEventi() as $reg){
  299.             if($reg->getIdentificativo() == $identificativo)
  300.                 return $reg;
  301.         }
  302.         return null;
  303.     }
  304.     /**
  305.      * @param $identificativo
  306.      * @return OfferteAllegati|mixed|null
  307.      */
  308.     public function RitornaAllegatoDaIdentificativo($identificativo){
  309.         /** @var OfferteAllegati $all */
  310.         foreach ($this->getAllegati() as $all){
  311.             if($all->getIdentificativo() == $identificativo)
  312.                 return $all;
  313.         }
  314.         return null;
  315.     }
  316.     public function getId(): ?int
  317.     {
  318.         return $this->id;
  319.     }
  320.     public function getCodiceCliente(): ?string
  321.     {
  322.         return $this->codiceCliente;
  323.     }
  324.     public function setCodiceCliente(?string $codiceCliente): static
  325.     {
  326.         $this->codiceCliente $codiceCliente;
  327.         return $this;
  328.     }
  329.     public function getRagioneSociale(): ?string
  330.     {
  331.         return $this->ragioneSociale;
  332.     }
  333.     public function setRagioneSociale(?string $ragioneSociale): static
  334.     {
  335.         $this->ragioneSociale $ragioneSociale;
  336.         return $this;
  337.     }
  338.     public function getDescrizioneBreve(): ?string
  339.     {
  340.         return $this->descrizioneBreve;
  341.     }
  342.     public function setDescrizioneBreve(?string $descrizioneBreve): static
  343.     {
  344.         $this->descrizioneBreve $descrizioneBreve;
  345.         return $this;
  346.     }
  347.     public function getDescrizioneLunga(): ?string
  348.     {
  349.         return $this->descrizioneLunga;
  350.     }
  351.     public function setDescrizioneLunga(?string $descrizioneLunga): static
  352.     {
  353.         $this->descrizioneLunga $descrizioneLunga;
  354.         return $this;
  355.     }
  356.     public function getDataDocumento(): ?\DateTimeInterface
  357.     {
  358.         return $this->dataDocumento;
  359.     }
  360.     public function setDataDocumento(?\DateTimeInterface $dataDocumento): static
  361.     {
  362.         $this->dataDocumento $dataDocumento;
  363.         return $this;
  364.     }
  365.     public function getDataCreazione(): ?\DateTimeInterface
  366.     {
  367.         return $this->dataCreazione;
  368.     }
  369.     public function setDataCreazione(\DateTimeInterface $dataCreazione): static
  370.     {
  371.         $this->dataCreazione $dataCreazione;
  372.         return $this;
  373.     }
  374.     public function getDataModifica(): ?\DateTimeInterface
  375.     {
  376.         return $this->dataModifica;
  377.     }
  378.     public function setDataModifica(\DateTimeInterface $dataModifica): static
  379.     {
  380.         $this->dataModifica $dataModifica;
  381.         return $this;
  382.     }
  383.     public function getMoneta(): ?string
  384.     {
  385.         return $this->moneta;
  386.     }
  387.     public function setMoneta(?string $moneta): static
  388.     {
  389.         $this->moneta $moneta;
  390.         return $this;
  391.     }
  392.     public function getImporto(): ?string
  393.     {
  394.         return $this->importo;
  395.     }
  396.     public function setImporto(?string $importo): static
  397.     {
  398.         $this->importo $importo;
  399.         return $this;
  400.     }
  401.     public function getImportante(): ?bool
  402.     {
  403.         return $this->importante;
  404.     }
  405.     public function setImportante(?bool $importante): static
  406.     {
  407.         $this->importante $importante;
  408.         return $this;
  409.     }
  410.     public function getStato(): ?string
  411.     {
  412.         return $this->stato;
  413.     }
  414.     public function setStato(?string $stato): static
  415.     {
  416.         $this->stato $stato;
  417.         return $this;
  418.     }
  419.     public function getDocumento(): ?string
  420.     {
  421.         return $this->documento;
  422.     }
  423.     public function setDocumento(?string $documento): static
  424.     {
  425.         $this->documento $documento;
  426.         return $this;
  427.     }
  428.     public function getPathPdfOriginale(): ?string
  429.     {
  430.         return $this->pathPdfOriginale;
  431.     }
  432.     public function setPathPdfOriginale(?string $pathPdfOriginale): static
  433.     {
  434.         $this->pathPdfOriginale $pathPdfOriginale;
  435.         return $this;
  436.     }
  437.     public function getNumero(): ?string
  438.     {
  439.         return $this->numero;
  440.     }
  441.     public function setNumero(?string $numero): static
  442.     {
  443.         $this->numero $numero;
  444.         return $this;
  445.     }
  446.     public function getAnno(): ?string
  447.     {
  448.         return $this->anno;
  449.     }
  450.     public function setAnno(?string $anno): static
  451.     {
  452.         $this->anno $anno;
  453.         return $this;
  454.     }
  455.     public function getPermessiLettura(): ?array
  456.     {
  457.         return $this->permessiLettura;
  458.     }
  459.     public function setPermessiLettura(?array $permessiLettura): static
  460.     {
  461.         $this->permessiLettura $permessiLettura;
  462.         return $this;
  463.     }
  464.     public function getPermessiScrittura(): ?array
  465.     {
  466.         return $this->permessiScrittura;
  467.     }
  468.     public function setPermessiScrittura(?array $permessiScrittura): static
  469.     {
  470.         $this->permessiScrittura $permessiScrittura;
  471.         return $this;
  472.     }
  473.     public function getDataEliminazione(): ?\DateTimeInterface
  474.     {
  475.         return $this->dataEliminazione;
  476.     }
  477.     public function setDataEliminazione(?\DateTimeInterface $dataEliminazione): static
  478.     {
  479.         $this->dataEliminazione $dataEliminazione;
  480.         return $this;
  481.     }
  482.     /**
  483.      * @return Collection<int, OfferteRighe>
  484.      */
  485.     public function getRighe(): Collection
  486.     {
  487.         return $this->righe;
  488.     }
  489.     public function addRighe(OfferteRighe $righe): static
  490.     {
  491.         if (!$this->righe->contains($righe)) {
  492.             $this->righe->add($righe);
  493.             $righe->setOfferta($this);
  494.         }
  495.         return $this;
  496.     }
  497.     public function removeRighe(OfferteRighe $righe): static
  498.     {
  499.         if ($this->righe->removeElement($righe)) {
  500.             // set the owning side to null (unless already changed)
  501.             if ($righe->getOfferta() === $this) {
  502.                 $righe->setOfferta(null);
  503.             }
  504.         }
  505.         return $this;
  506.     }
  507.     public function getCollegamentoAnagrafica(): ?Anagrafiche
  508.     {
  509.         return $this->collegamentoAnagrafica;
  510.     }
  511.     public function setCollegamentoAnagrafica(?Anagrafiche $collegamentoAnagrafica): static
  512.     {
  513.         $this->collegamentoAnagrafica $collegamentoAnagrafica;
  514.         return $this;
  515.     }
  516.     public function getUtenteModifica(): ?User
  517.     {
  518.         return $this->utenteModifica;
  519.     }
  520.     public function setUtenteModifica(?User $utenteModifica): static
  521.     {
  522.         $this->utenteModifica $utenteModifica;
  523.         return $this;
  524.     }
  525.     /**
  526.      * @return Collection<int, OfferteAllegati>
  527.      */
  528.     public function getAllegati(): Collection
  529.     {
  530.         return $this->allegati;
  531.     }
  532.     public function addAllegati(OfferteAllegati $allegati): static
  533.     {
  534.         if (!$this->allegati->contains($allegati)) {
  535.             $this->allegati->add($allegati);
  536.             $allegati->setOfferta($this);
  537.         }
  538.         return $this;
  539.     }
  540.     public function removeAllegati(OfferteAllegati $allegati): static
  541.     {
  542.         if ($this->allegati->removeElement($allegati)) {
  543.             // set the owning side to null (unless already changed)
  544.             if ($allegati->getOfferta() === $this) {
  545.                 $allegati->setOfferta(null);
  546.             }
  547.         }
  548.         return $this;
  549.     }
  550.     /**
  551.      * @return Collection<int, OfferteContattiClienti>
  552.      */
  553.     public function getContattiClienti(): Collection
  554.     {
  555.         return $this->contattiClienti;
  556.     }
  557.     public function addContattiClienti(OfferteContattiClienti $contattiClienti): static
  558.     {
  559.         if (!$this->contattiClienti->contains($contattiClienti)) {
  560.             $this->contattiClienti->add($contattiClienti);
  561.             $contattiClienti->setOfferta($this);
  562.         }
  563.         return $this;
  564.     }
  565.     public function removeContattiClienti(OfferteContattiClienti $contattiClienti): static
  566.     {
  567.         if ($this->contattiClienti->removeElement($contattiClienti)) {
  568.             // set the owning side to null (unless already changed)
  569.             if ($contattiClienti->getOfferta() === $this) {
  570.                 $contattiClienti->setOfferta(null);
  571.             }
  572.         }
  573.         return $this;
  574.     }
  575.     /**
  576.      * @return Collection<int, OfferteRegistroEventi>
  577.      */
  578.     public function getRegistroEventi(): Collection
  579.     {
  580.         return $this->registroEventi;
  581.     }
  582.     public function addRegistroEventi(OfferteRegistroEventi $registroEventi): static
  583.     {
  584.         if (!$this->registroEventi->contains($registroEventi)) {
  585.             $this->registroEventi->add($registroEventi);
  586.             $registroEventi->setOfferta($this);
  587.         }
  588.         return $this;
  589.     }
  590.     public function removeRegistroEventi(OfferteRegistroEventi $registroEventi): static
  591.     {
  592.         if ($this->registroEventi->removeElement($registroEventi)) {
  593.             // set the owning side to null (unless already changed)
  594.             if ($registroEventi->getOfferta() === $this) {
  595.                 $registroEventi->setOfferta(null);
  596.             }
  597.         }
  598.         return $this;
  599.     }
  600.     public function getCitta(): ?string
  601.     {
  602.         return $this->citta;
  603.     }
  604.     public function setCitta(?string $citta): static
  605.     {
  606.         $this->citta $citta;
  607.         return $this;
  608.     }
  609.     public function getProvincia(): ?string
  610.     {
  611.         return $this->provincia;
  612.     }
  613.     public function setProvincia(?string $provincia): static
  614.     {
  615.         $this->provincia $provincia;
  616.         return $this;
  617.     }
  618.     public function getCap(): ?string
  619.     {
  620.         return $this->cap;
  621.     }
  622.     public function setCap(?string $cap): static
  623.     {
  624.         $this->cap $cap;
  625.         return $this;
  626.     }
  627.     public function getIndirizzo(): ?string
  628.     {
  629.         return $this->indirizzo;
  630.     }
  631.     public function setIndirizzo(?string $indirizzo): static
  632.     {
  633.         $this->indirizzo $indirizzo;
  634.         return $this;
  635.     }
  636.     public function getTelefono(): ?string
  637.     {
  638.         return $this->telefono;
  639.     }
  640.     public function setTelefono(?string $telefono): static
  641.     {
  642.         $this->telefono $telefono;
  643.         return $this;
  644.     }
  645.     public function getNazione(): ?string
  646.     {
  647.         return $this->nazione;
  648.     }
  649.     public function setNazione(?string $nazione): static
  650.     {
  651.         $this->nazione $nazione;
  652.         return $this;
  653.     }
  654.     public function getCodiceFiscale(): ?string
  655.     {
  656.         return $this->codiceFiscale;
  657.     }
  658.     public function setCodiceFiscale(?string $codiceFiscale): static
  659.     {
  660.         $this->codiceFiscale $codiceFiscale;
  661.         return $this;
  662.     }
  663.     public function getPartitaIva(): ?string
  664.     {
  665.         return $this->partitaIva;
  666.     }
  667.     public function setPartitaIva(?string $partitaIva): static
  668.     {
  669.         $this->partitaIva $partitaIva;
  670.         return $this;
  671.     }
  672.     public function getDestinazioneRagioneSociale(): ?string
  673.     {
  674.         return $this->destinazioneRagioneSociale;
  675.     }
  676.     public function setDestinazioneRagioneSociale(?string $destinazioneRagioneSociale): static
  677.     {
  678.         $this->destinazioneRagioneSociale $destinazioneRagioneSociale;
  679.         return $this;
  680.     }
  681.     public function getDestinazioneCitta(): ?string
  682.     {
  683.         return $this->destinazioneCitta;
  684.     }
  685.     public function setDestinazioneCitta(?string $destinazioneCitta): static
  686.     {
  687.         $this->destinazioneCitta $destinazioneCitta;
  688.         return $this;
  689.     }
  690.     public function getDestinazioneProvincia(): ?string
  691.     {
  692.         return $this->destinazioneProvincia;
  693.     }
  694.     public function setDestinazioneProvincia(?string $destinazioneProvincia): static
  695.     {
  696.         $this->destinazioneProvincia $destinazioneProvincia;
  697.         return $this;
  698.     }
  699.     public function getDestinazioneCap(): ?string
  700.     {
  701.         return $this->destinazioneCap;
  702.     }
  703.     public function setDestinazioneCap(?string $destinazioneCap): static
  704.     {
  705.         $this->destinazioneCap $destinazioneCap;
  706.         return $this;
  707.     }
  708.     public function getDestinazioneIndirizzo(): ?string
  709.     {
  710.         return $this->destinazioneIndirizzo;
  711.     }
  712.     public function setDestinazioneIndirizzo(?string $destinazioneIndirizzo): static
  713.     {
  714.         $this->destinazioneIndirizzo $destinazioneIndirizzo;
  715.         return $this;
  716.     }
  717.     public function getDestinazioneNazione(): ?string
  718.     {
  719.         return $this->destinazioneNazione;
  720.     }
  721.     public function setDestinazioneNazione(?string $destinazioneNazione): static
  722.     {
  723.         $this->destinazioneNazione $destinazioneNazione;
  724.         return $this;
  725.     }
  726.     public function getNote(): ?string
  727.     {
  728.         return $this->note;
  729.     }
  730.     public function setNote(?string $note): static
  731.     {
  732.         $this->note $note;
  733.         return $this;
  734.     }
  735.     public function isImportante(): ?bool
  736.     {
  737.         return $this->importante;
  738.     }
  739.     public function getNoteAziendali(): ?string
  740.     {
  741.         return $this->noteAziendali;
  742.     }
  743.     public function setNoteAziendali(?string $noteAziendali): static
  744.     {
  745.         $this->noteAziendali $noteAziendali;
  746.         return $this;
  747.     }
  748.     public function getRiferimento(): ?string
  749.     {
  750.         return $this->riferimento;
  751.     }
  752.     public function setRiferimento(?string $riferimento): static
  753.     {
  754.         $this->riferimento $riferimento;
  755.         return $this;
  756.     }
  757.     public function getDataUltimoInvioRiepilogoOfferta(): ?\DateTimeInterface
  758.     {
  759.         return $this->dataUltimoInvioRiepilogoOfferta;
  760.     }
  761.     public function setDataUltimoInvioRiepilogoOfferta(?\DateTimeInterface $dataUltimoInvioRiepilogoOfferta): static
  762.     {
  763.         $this->dataUltimoInvioRiepilogoOfferta $dataUltimoInvioRiepilogoOfferta;
  764.         return $this;
  765.     }
  766. }