src/Entity/Documenti.php line 50
<?phpnamespace App\Entity;use App\Repository\DocumentiRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Doctrine\ORM\Mapping\JoinColumn;use Doctrine\ORM\Mapping\OneToOne;/*** @ORM\Table(name="documenti", indexes={* @ORM\Index(name="documenti_ddt_idx",* columns={* "numero_ddt",* "tipo_documento",* "data_ddt"* }),* @ORM\Index(name="documenti_fatt_idx",* columns={* "numero_fattura",* "tipo_documento",* "data_fattura"* }),* @ORM\Index(name="documenti_idx",* columns={* "documento",* "anno",* "tipo_documento",* "data_documento",* "numero"* }),* @ORM\Index(name="documenti_merc_idx",* columns={* "agente",* "zona",* "tipo_documento"* }),* @ORM\Index(name="documenti_tipo_cod_for_idx",* columns={* "codice_fornitore",* "tipo_documento",* "tipo_anagrafica"* })* })* @ORM\Entity(repositoryClass=DocumentiRepository::class)*/class Documenti{/*** @ORM\Id* @ORM\GeneratedValue* @ORM\Column(type="integer")*/private $id;/*** @ORM\Column(type="string", length=255, unique=true)*/private $identificativo;/*** @ORM\OneToMany(targetEntity="App\Entity\DocumentiRighe", mappedBy="identificativoDocumento")*/private $righe;/*** @ORM\OneToMany(targetEntity="App\Entity\DocumentiAllegati", mappedBy="identificativoDocumento")*/private $allegati;/*** @ORM\OneToMany(targetEntity="App\Entity\DocumentiRegistroAttivita", mappedBy="identificativoDocumento")*/private $registroAttivita;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $documento;/*** @ORM\Column(type="string", length=50, nullable=true)*/private $tipoDocumento;/*** @ORM\Column(type="smallint", nullable=true)*/private $anno;/*** @ORM\Column(type="datetime", nullable=true)*/private $dataDocumento;/*** @ORM\Column(type="integer", nullable=true)*/private $numero;/*** @ORM\Column(type="string", length=20, nullable=true)*/private $numeroFattura;/*** @ORM\Column(type="date", nullable=true)*/private $dataFattura;/*** @ORM\Column(type="string", length=20, nullable=true)*/private $numeroDdt;/*** @ORM\Column(type="date", nullable=true)*/private $dataDdt;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $agente;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $codiceAnagrafica;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $vincolaIdentificativoUtente;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $tipoAnagrafica;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $ragioneSociale;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $indirizzo;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $citta;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $provincia;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $cap;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $regione;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $codiceFiscale;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $partitaIva;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $modalitaPagamento;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $modalitaSpedizione;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $modalitaConsegna;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $totaleDocumentoNetto;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $totaleCostoNetto;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $zona;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $mercato;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $subAgente;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $capoArea;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $nomeFilePdfDocumento;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $nomeFilePdfFattura;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $nomefilePdfDdt;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $statoAvanzamento;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $indirizzoTrackingCorriere;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $codiceAgente;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $codiceFornitore;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $utente;/*** @ORM\Column(type="datetime", nullable=true)*/private $dataConsegna;/*** @ORM\Column(type="datetime", nullable=true)*/private $dataCreazione;/*** @ORM\Column(type="datetime", nullable=true)*/private $dataModifica;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $variabileStringa1;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $variabileStringa2;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $variabileStringa3;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $variabileStringa4;/*** @ORM\Column(type="string", length=255, nullable=true)*/private $variabileStringa5;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $variabileDecimale1;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $variabileDecimale2;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $variabileDecimale3;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $variabileDecimale4;/*** @ORM\Column(type="decimal", precision=18, scale=5, nullable=true)*/private $variabileDecimale5;/*** @ORM\Column(type="datetime", nullable=true)*/private $variabileDataora1;/*** @ORM\Column(type="datetime", nullable=true)*/private $variabileDataora2;/*** @ORM\Column(type="datetime", nullable=true)*/private $variabileDataora3;/*** @ORM\Column(type="boolean", nullable=true)*/private $variabileBooleana1;/*** @ORM\Column(type="boolean", nullable=true)*/private $variabileBooleana2;/*** @ORM\Column(type="boolean", nullable=true)*/private $variabileBooleana3;public function __construct(){$this->righe = new ArrayCollection();$this->allegati = new ArrayCollection();$this->registroAttivita = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getIdentificativo(): ?string{return $this->identificativo;}public function setIdentificativo(string $identificativo): static{$this->identificativo = $identificativo;return $this;}public function getDocumento(): ?string{return $this->documento;}public function setDocumento(?string $documento): static{$this->documento = $documento;return $this;}public function getAnno(): ?int{return $this->anno;}public function setAnno(?int $anno): static{$this->anno = $anno;return $this;}public function getDataDocumento(): ?\DateTimeInterface{return $this->dataDocumento;}public function setDataDocumento(?\DateTimeInterface $dataDocumento): static{$this->dataDocumento = $dataDocumento;return $this;}public function getNumero(): ?int{return $this->numero;}public function setNumero(?int $numero): static{$this->numero = $numero;return $this;}public function getNumeroFattura(): ?string{return $this->numeroFattura;}public function setNumeroFattura(?string $numeroFattura): static{$this->numeroFattura = $numeroFattura;return $this;}public function getDataFattura(): ?\DateTimeInterface{return $this->dataFattura;}public function setDataFattura(?\DateTimeInterface $dataFattura): static{$this->dataFattura = $dataFattura;return $this;}public function getNumeroDdt(): ?string{return $this->numeroDdt;}public function setNumeroDdt(?string $numeroDdt): static{$this->numeroDdt = $numeroDdt;return $this;}public function getDataDdt(): ?\DateTimeInterface{return $this->dataDdt;}public function setDataDdt(?\DateTimeInterface $dataDdt): static{$this->dataDdt = $dataDdt;return $this;}public function getAgente(): ?string{return $this->agente;}public function setAgente(?string $agente): static{$this->agente = $agente;return $this;}public function getCodiceAnagrafica(): ?string{return $this->codiceAnagrafica;}public function setCodiceAnagrafica(?string $codiceAnagrafica): static{$this->codiceAnagrafica = $codiceAnagrafica;return $this;}public function getTipoAnagrafica(): ?string{return $this->tipoAnagrafica;}public function setTipoAnagrafica(?string $tipoAnagrafica): static{$this->tipoAnagrafica = $tipoAnagrafica;return $this;}public function getRagioneSociale(): ?string{return $this->ragioneSociale;}public function setRagioneSociale(?string $ragioneSociale): static{$this->ragioneSociale = $ragioneSociale;return $this;}public function getIndirizzo(): ?string{return $this->indirizzo;}public function setIndirizzo(?string $indirizzo): static{$this->indirizzo = $indirizzo;return $this;}public function getCitta(): ?string{return $this->citta;}public function setCitta(?string $citta): static{$this->citta = $citta;return $this;}public function getProvincia(): ?string{return $this->provincia;}public function setProvincia(?string $provincia): static{$this->provincia = $provincia;return $this;}public function getRegione(): ?string{return $this->regione;}public function setRegione(?string $regione): static{$this->regione = $regione;return $this;}public function getCodiceFiscale(): ?string{return $this->codiceFiscale;}public function setCodiceFiscale(?string $codiceFiscale): static{$this->codiceFiscale = $codiceFiscale;return $this;}public function getPartitaIva(): ?string{return $this->partitaIva;}public function setPartitaIva(?string $partitaIva): static{$this->partitaIva = $partitaIva;return $this;}public function getModalitaPagamento(): ?string{return $this->modalitaPagamento;}public function setModalitaPagamento(?string $modalitaPagamento): static{$this->modalitaPagamento = $modalitaPagamento;return $this;}public function getModalitaSpedizione(): ?string{return $this->modalitaSpedizione;}public function setModalitaSpedizione(?string $modalitaSpedizione): static{$this->modalitaSpedizione = $modalitaSpedizione;return $this;}public function getModalitaConsegna(): ?string{return $this->modalitaConsegna;}public function setModalitaConsegna(?string $modalitaConsegna): static{$this->modalitaConsegna = $modalitaConsegna;return $this;}public function getTotaleDocumentoNetto(): ?string{return $this->totaleDocumentoNetto;}public function setTotaleDocumentoNetto(?string $totaleDocumentoNetto): static{$this->totaleDocumentoNetto = $totaleDocumentoNetto;return $this;}public function getTotaleCostoNetto(): ?string{return $this->totaleCostoNetto;}public function setTotaleCostoNetto(?string $totaleCostoNetto): static{$this->totaleCostoNetto = $totaleCostoNetto;return $this;}public function getZona(): ?string{return $this->zona;}public function setZona(?string $zona): static{$this->zona = $zona;return $this;}public function getMercato(): ?string{return $this->mercato;}public function setMercato(?string $mercato): static{$this->mercato = $mercato;return $this;}public function getSubAgente(): ?string{return $this->subAgente;}public function setSubAgente(?string $subAgente): static{$this->subAgente = $subAgente;return $this;}public function getCapoArea(): ?string{return $this->capoArea;}public function setCapoArea(?string $capoArea): static{$this->capoArea = $capoArea;return $this;}public function getNomeFilePdfDocumento(): ?string{return $this->nomeFilePdfDocumento;}public function setNomeFilePdfDocumento(?string $nomeFilePdfDocumento): static{$this->nomeFilePdfDocumento = $nomeFilePdfDocumento;return $this;}public function getNomeFilePdfFattura(): ?string{return $this->nomeFilePdfFattura;}public function setNomeFilePdfFattura(?string $nomeFilePdfFattura): static{$this->nomeFilePdfFattura = $nomeFilePdfFattura;return $this;}public function getNomefilePdfDdt(): ?string{return $this->nomefilePdfDdt;}public function setNomefilePdfDdt(?string $nomefilePdfDdt): static{$this->nomefilePdfDdt = $nomefilePdfDdt;return $this;}public function getStatoAvanzamento(): ?string{return $this->statoAvanzamento;}public function setStatoAvanzamento(?string $statoAvanzamento): static{$this->statoAvanzamento = $statoAvanzamento;return $this;}public function getIndirizzoTrackingCorriere(): ?string{return $this->indirizzoTrackingCorriere;}public function setIndirizzoTrackingCorriere(?string $indirizzoTrackingCorriere): static{$this->indirizzoTrackingCorriere = $indirizzoTrackingCorriere;return $this;}public function getCodiceAgente(): ?string{return $this->codiceAgente;}public function setCodiceAgente(?string $codiceAgente): static{$this->codiceAgente = $codiceAgente;return $this;}public function getCodiceFornitore(): ?string{return $this->codiceFornitore;}public function setCodiceFornitore(?string $codiceFornitore): static{$this->codiceFornitore = $codiceFornitore;return $this;}public function getUtente(): ?string{return $this->utente;}public function setUtente(?string $utente): static{$this->utente = $utente;return $this;}public function getDataConsegna(): ?\DateTimeInterface{return $this->dataConsegna;}public function setDataConsegna(?\DateTimeInterface $dataConsegna): static{$this->dataConsegna = $dataConsegna;return $this;}public function getDataCreazione(): ?\DateTimeInterface{return $this->dataCreazione;}public function setDataCreazione(?\DateTimeInterface $dataCreazione): static{$this->dataCreazione = $dataCreazione;return $this;}public function getDataModifica(): ?\DateTimeInterface{return $this->dataModifica;}public function setDataModifica(?\DateTimeInterface $dataModifica): static{$this->dataModifica = $dataModifica;return $this;}public function getVariabileStringa1(): ?string{return $this->variabileStringa1;}public function setVariabileStringa1(?string $variabileStringa1): static{$this->variabileStringa1 = $variabileStringa1;return $this;}public function getVariabileStringa2(): ?string{return $this->variabileStringa2;}public function setVariabileStringa2(?string $variabileStringa2): static{$this->variabileStringa2 = $variabileStringa2;return $this;}public function getVariabileStringa3(): ?string{return $this->variabileStringa3;}public function setVariabileStringa3(?string $variabileStringa3): static{$this->variabileStringa3 = $variabileStringa3;return $this;}public function getVariabileStringa4(): ?string{return $this->variabileStringa4;}public function setVariabileStringa4(?string $variabileStringa4): static{$this->variabileStringa4 = $variabileStringa4;return $this;}public function getVariabileStringa5(): ?string{return $this->variabileStringa5;}public function setVariabileStringa5(?string $variabileStringa5): static{$this->variabileStringa5 = $variabileStringa5;return $this;}public function getVariabileDecimale1(): ?string{return $this->variabileDecimale1;}public function setVariabileDecimale1(?string $variabileDecimale1): static{$this->variabileDecimale1 = $variabileDecimale1;return $this;}public function getVariabileDecimale2(): ?string{return $this->variabileDecimale2;}public function setVariabileDecimale2(?string $variabileDecimale2): static{$this->variabileDecimale2 = $variabileDecimale2;return $this;}public function getVariabileDecimale3(): ?string{return $this->variabileDecimale3;}public function setVariabileDecimale3(?string $variabileDecimale3): static{$this->variabileDecimale3 = $variabileDecimale3;return $this;}public function getVariabileDecimale4(): ?string{return $this->variabileDecimale4;}public function setVariabileDecimale4(?string $variabileDecimale4): static{$this->variabileDecimale4 = $variabileDecimale4;return $this;}public function getVariabileDecimale5(): ?string{return $this->variabileDecimale5;}public function setVariabileDecimale5(?string $variabileDecimale5): static{$this->variabileDecimale5 = $variabileDecimale5;return $this;}public function getVariabileDataora1(): ?\DateTimeInterface{return $this->variabileDataora1;}public function setVariabileDataora1(?\DateTimeInterface $variabileDataora1): static{$this->variabileDataora1 = $variabileDataora1;return $this;}public function getVariabileDataora2(): ?\DateTimeInterface{return $this->variabileDataora2;}public function setVariabileDataora2(?\DateTimeInterface $variabileDataora2): static{$this->variabileDataora2 = $variabileDataora2;return $this;}public function getVariabileDataora3(): ?\DateTimeInterface{return $this->variabileDataora3;}public function setVariabileDataora3(?\DateTimeInterface $variabileDataora3): static{$this->variabileDataora3 = $variabileDataora3;return $this;}public function getVariabileBooleana1(): ?bool{return $this->variabileBooleana1;}public function setVariabileBooleana1(?bool $variabileBooleana1): static{$this->variabileBooleana1 = $variabileBooleana1;return $this;}public function getVariabileBooleana2(): ?bool{return $this->variabileBooleana2;}public function setVariabileBooleana2(?bool $variabileBooleana2): static{$this->variabileBooleana2 = $variabileBooleana2;return $this;}public function getVariabileBooleana3(): ?bool{return $this->variabileBooleana3;}public function setVariabileBooleana3(?bool $variabileBooleana3): static{$this->variabileBooleana3 = $variabileBooleana3;return $this;}/*** @return Collection<int, DocumentiRighe>*/public function getRighe(): Collection{return $this->righe;}public function addRighe(DocumentiRighe $righe): static{if (!$this->righe->contains($righe)) {$this->righe->add($righe);$righe->setIdentificativoDocumento($this);}return $this;}public function removeRighe(DocumentiRighe $righe): static{if ($this->righe->removeElement($righe)) {// set the owning side to null (unless already changed)if ($righe->getIdentificativoDocumento() === $this) {$righe->setIdentificativoDocumento(null);}}return $this;}/*** @return Collection<int, DocumentiAllegati>*/public function getAllegati(): Collection{return $this->allegati;}public function addAllegati(DocumentiAllegati $allegati): static{if (!$this->allegati->contains($allegati)) {$this->allegati->add($allegati);$allegati->setIdentificativoDocumento($this);}return $this;}public function removeAllegati(DocumentiAllegati $allegati): static{if ($this->allegati->removeElement($allegati)) {// set the owning side to null (unless already changed)if ($allegati->getIdentificativoDocumento() === $this) {$allegati->setIdentificativoDocumento(null);}}return $this;}/*** @return Collection<int, DocumentiRegistroAttivita>*/public function getRegistroAttivita(): Collection{return $this->registroAttivita;}public function addRegistroAttivitum(DocumentiRegistroAttivita $registroAttivitum): static{if (!$this->registroAttivita->contains($registroAttivitum)) {$this->registroAttivita->add($registroAttivitum);$registroAttivitum->setIdentificativoDocumento($this);}return $this;}public function removeRegistroAttivitum(DocumentiRegistroAttivita $registroAttivitum): static{if ($this->registroAttivita->removeElement($registroAttivitum)) {// set the owning side to null (unless already changed)if ($registroAttivitum->getIdentificativoDocumento() === $this) {$registroAttivitum->setIdentificativoDocumento(null);}}return $this;}public function getCap(): ?string{return $this->cap;}public function setCap(?string $cap): static{$this->cap = $cap;return $this;}public function getTipoDocumento(): ?string{return $this->tipoDocumento;}public function setTipoDocumento(?string $tipoDocumento): static{$this->tipoDocumento = $tipoDocumento;return $this;}public function getVincolaIdentificativoUtente(): ?string{return $this->vincolaIdentificativoUtente;}public function setVincolaIdentificativoUtente(?string $vincolaIdentificativoUtente): static{$this->vincolaIdentificativoUtente = $vincolaIdentificativoUtente;return $this;}public function isVariabileBooleana1(): ?bool{return $this->variabileBooleana1;}public function isVariabileBooleana2(): ?bool{return $this->variabileBooleana2;}public function isVariabileBooleana3(): ?bool{return $this->variabileBooleana3;}}