src/Entity/Impostazioni.php line 14

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * Impostazioni
  7.  *
  8.  * @ORM\Table(name="impostazioni")
  9.  * @ORM\Entity(repositoryClass="App\Repository\ImpostazioniRepository")
  10.  */
  11. class Impostazioni
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="nome", type="string", length=255, unique=true)
  25.      */
  26.     private $nome;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="nome_visualizzato", type="string", length=255, nullable=true)
  31.      */
  32.     private $nomeVisualizzato;
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="valore", type="text", nullable=true)
  37.      */
  38.     private $valore;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="famiglia", type="string", length=255, nullable=true)
  43.      */
  44.     private $famiglia;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="valori_concessi", type="string", length=255, nullable=true)
  49.      */
  50.     private $valoriConcessi;
  51.     /**
  52.      * @var string
  53.      *
  54.      * @ORM\Column(name="tipo_dato", type="string", length=255, nullable=true)
  55.      */
  56.     private $tipoDato;
  57.     /**
  58.      * @ORM\ManyToOne(targetEntity="User")
  59.      * @ORM\JoinColumn(name="utente_modifica_id", referencedColumnName="id", onDelete="SET NULL")
  60.      */
  61.     private $utenteModifica;
  62.     /**
  63.      * @var \DateTime
  64.      *
  65.      * @ORM\Column(name="data_modifica", type="datetime")
  66.      */
  67.     private $dataModifica;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function setNome(string $nome): static
  73.     {
  74.         $this->nome $nome;
  75.         return $this;
  76.     }
  77.     public function getNome(): ?string
  78.     {
  79.         return $this->nome;
  80.     }
  81.     public function setNomeVisualizzato(?string $nomeVisualizzato): static
  82.     {
  83.         $this->nomeVisualizzato $nomeVisualizzato;
  84.         return $this;
  85.     }
  86.     public function getNomeVisualizzato(): ?string
  87.     {
  88.         return $this->nomeVisualizzato;
  89.     }
  90.     public function setValore(?string $valore): static
  91.     {
  92.         $this->valore $valore;
  93.         return $this;
  94.     }
  95.     public function getValore(): ?string
  96.     {
  97.         return $this->valore;
  98.     }
  99.     public function setFamiglia(?string $famiglia): static
  100.     {
  101.         $this->famiglia $famiglia;
  102.         return $this;
  103.     }
  104.     public function getFamiglia(): ?string
  105.     {
  106.         return $this->famiglia;
  107.     }
  108.     public function setValoriConcessi(?string $valoriConcessi): static
  109.     {
  110.         $this->valoriConcessi $valoriConcessi;
  111.         return $this;
  112.     }
  113.     public function getValoriConcessi(): ?string
  114.     {
  115.         return $this->valoriConcessi;
  116.     }
  117.     public function setTipoDato(?string $tipoDato): static
  118.     {
  119.         $this->tipoDato $tipoDato;
  120.         return $this;
  121.     }
  122.     public function getTipoDato(): ?string
  123.     {
  124.         return $this->tipoDato;
  125.     }
  126.     public function setDataModifica(\DateTimeInterface $dataModifica): static
  127.     {
  128.         $this->dataModifica $dataModifica;
  129.         return $this;
  130.     }
  131.     public function getDataModifica(): ?\DateTimeInterface
  132.     {
  133.         return $this->dataModifica;
  134.     }
  135.     public function setUtenteModifica(?User $utenteModifica): static
  136.     {
  137.         $this->utenteModifica $utenteModifica;
  138.         return $this;
  139.     }
  140.     public function getUtenteModifica(): ?User
  141.     {
  142.         return $this->utenteModifica;
  143.     }
  144. }