src/Entity/DocumentiRegistroAttivita.php line 12

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DocumentiRegistroAttivitaRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=DocumentiRegistroAttivitaRepository::class)
  8.  */
  9. class DocumentiRegistroAttivita
  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="datetime", nullable=true)
  27.      */
  28.     private $dataCreazione;
  29.     /**
  30.      * @ORM\Column(type="datetime", nullable=true)
  31.      */
  32.     private $dataModifica;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity="User")
  35.      * @ORM\JoinColumn(name="utente_modifica_id", referencedColumnName="id", onDelete="SET NULL")
  36.      */
  37.     private $utente;
  38.     /**
  39.      * @ORM\Column(type="string", length=255, nullable=true)
  40.      */
  41.     private $categoria;
  42.     /**
  43.      * @ORM\Column(type="string", length=255, nullable=true)
  44.      */
  45.     private $descrizione;
  46.     public function getId(): ?int
  47.     {
  48.         return $this->id;
  49.     }
  50.     public function getRiga(): ?int
  51.     {
  52.         return $this->riga;
  53.     }
  54.     public function setRiga(?int $riga): static
  55.     {
  56.         $this->riga $riga;
  57.         return $this;
  58.     }
  59.     public function getDataCreazione(): ?\DateTimeInterface
  60.     {
  61.         return $this->dataCreazione;
  62.     }
  63.     public function setDataCreazione(?\DateTimeInterface $dataCreazione): static
  64.     {
  65.         $this->dataCreazione $dataCreazione;
  66.         return $this;
  67.     }
  68.     public function getDataModifica(): ?\DateTimeInterface
  69.     {
  70.         return $this->dataModifica;
  71.     }
  72.     public function setDataModifica(?\DateTimeInterface $dataModifica): static
  73.     {
  74.         $this->dataModifica $dataModifica;
  75.         return $this;
  76.     }
  77.     public function getCategoria(): ?string
  78.     {
  79.         return $this->categoria;
  80.     }
  81.     public function setCategoria(?string $categoria): static
  82.     {
  83.         $this->categoria $categoria;
  84.         return $this;
  85.     }
  86.     public function getDescrizione(): ?string
  87.     {
  88.         return $this->descrizione;
  89.     }
  90.     public function setDescrizione(?string $descrizione): static
  91.     {
  92.         $this->descrizione $descrizione;
  93.         return $this;
  94.     }
  95.     public function getIdentificativoDocumento(): ?Documenti
  96.     {
  97.         return $this->identificativoDocumento;
  98.     }
  99.     public function setIdentificativoDocumento(?Documenti $identificativoDocumento): static
  100.     {
  101.         $this->identificativoDocumento $identificativoDocumento;
  102.         return $this;
  103.     }
  104.     public function getUtente(): ?User
  105.     {
  106.         return $this->utente;
  107.     }
  108.     public function setUtente(?User $utente): static
  109.     {
  110.         $this->utente $utente;
  111.         return $this;
  112.     }
  113. }