src/Entity/DocumentiAllegati.php line 12

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DocumentiAllegatiRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=DocumentiAllegatiRepository::class)
  8.  */
  9. class DocumentiAllegati
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\ManyToOne(targetEntity="App\Entity\Documenti")
  19.      */
  20.     private $identificativoDocumento;
  21.     /**
  22.      * @ORM\Column(type="integer", nullable=true)
  23.      */
  24.     private $riga;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, nullable=true)
  27.      */
  28.     private $nomeFile;
  29.     /**
  30.      * @ORM\Column(type="integer", nullable=true)
  31.      */
  32.     private $documentiRiga;
  33.     /**
  34.      * @ORM\Column(type="string", length=255, nullable=true)
  35.      */
  36.     private $categoria;
  37.     /**
  38.      * @ORM\Column(type="string", length=255, nullable=true)
  39.      */
  40.     private $nome;
  41.     /**
  42.      * @ORM\Column(type="string", length=255, nullable=true)
  43.      */
  44.     private $pathFile;
  45.     /**
  46.      * @ORM\Column(type="datetime", nullable=true)
  47.      */
  48.     private $dataCreazione;
  49.     /**
  50.      * @ORM\Column(type="datetime", nullable=true)
  51.      */
  52.     private $dataModifica;
  53.     /**
  54.      * @ORM\ManyToOne(targetEntity="User")
  55.      * @ORM\JoinColumn(name="utente_modifica_id", referencedColumnName="id", onDelete="SET NULL")
  56.      */
  57.     private $utenteModifica;
  58.     public function getId(): ?int
  59.     {
  60.         return $this->id;
  61.     }
  62.     public function getRiga(): ?int
  63.     {
  64.         return $this->riga;
  65.     }
  66.     public function setRiga(?int $riga): static
  67.     {
  68.         $this->riga $riga;
  69.         return $this;
  70.     }
  71.     public function getNomeFile(): ?string
  72.     {
  73.         return $this->nomeFile;
  74.     }
  75.     public function setNomeFile(?string $nomeFile): static
  76.     {
  77.         $this->nomeFile $nomeFile;
  78.         return $this;
  79.     }
  80.     public function getDocumentiRiga(): ?int
  81.     {
  82.         return $this->documentiRiga;
  83.     }
  84.     public function setDocumentiRiga(?int $documentiRiga): static
  85.     {
  86.         $this->documentiRiga $documentiRiga;
  87.         return $this;
  88.     }
  89.     public function getCategoria(): ?string
  90.     {
  91.         return $this->categoria;
  92.     }
  93.     public function setCategoria(?string $categoria): static
  94.     {
  95.         $this->categoria $categoria;
  96.         return $this;
  97.     }
  98.     public function getNome(): ?string
  99.     {
  100.         return $this->nome;
  101.     }
  102.     public function setNome(?string $nome): static
  103.     {
  104.         $this->nome $nome;
  105.         return $this;
  106.     }
  107.     public function getPathFile(): ?string
  108.     {
  109.         return $this->pathFile;
  110.     }
  111.     public function setPathFile(?string $pathFile): static
  112.     {
  113.         $this->pathFile $pathFile;
  114.         return $this;
  115.     }
  116.     public function getDataCreazione(): ?\DateTimeInterface
  117.     {
  118.         return $this->dataCreazione;
  119.     }
  120.     public function setDataCreazione(?\DateTimeInterface $dataCreazione): static
  121.     {
  122.         $this->dataCreazione $dataCreazione;
  123.         return $this;
  124.     }
  125.     public function getDataModifica(): ?\DateTimeInterface
  126.     {
  127.         return $this->dataModifica;
  128.     }
  129.     public function setDataModifica(?\DateTimeInterface $dataModifica): static
  130.     {
  131.         $this->dataModifica $dataModifica;
  132.         return $this;
  133.     }
  134.     public function getIdentificativoDocumento(): ?Documenti
  135.     {
  136.         return $this->identificativoDocumento;
  137.     }
  138.     public function setIdentificativoDocumento(?Documenti $identificativoDocumento): static
  139.     {
  140.         $this->identificativoDocumento $identificativoDocumento;
  141.         return $this;
  142.     }
  143.     public function getUtenteModifica(): ?User
  144.     {
  145.         return $this->utenteModifica;
  146.     }
  147.     public function setUtenteModifica(?User $utenteModifica): static
  148.     {
  149.         $this->utenteModifica $utenteModifica;
  150.         return $this;
  151.     }
  152. }