src/Entity/ModalitaPagamento.php line 15

  1. <?php
  2. namespace App\Entity;
  3. use App\Model\Colonna;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * ModalitaPagamento
  8.  *
  9.  * @ORM\Table(name="modalita_pagamento")
  10.  * @ORM\Entity(repositoryClass="App\Repository\ModalitaPagamentoRepository")
  11.  */
  12. class ModalitaPagamento
  13. {
  14.     /**
  15.      * @var int
  16.      *
  17.      * @ORM\Column(name="id", type="integer")
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var string
  24.      *
  25.      * @ORM\Column(name="nome", type="string", length=255)
  26.      */
  27.     private $nome;
  28.     /**
  29.      * @var string
  30.      *
  31.      * @ORM\Column(name="codice_esportazione", type="string", length=20)
  32.      */
  33.     private $codiceEsportazione;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="servizio_pagamento_automatico", type="string", length=255, nullable=true)
  38.      */
  39.     private $servizioPagamentoAutomatico;
  40.     /**
  41.      * @var bool
  42.      *
  43.      * @ORM\Column(name="conferma_manuale_pagamento", type="boolean")
  44.      */
  45.     private $confermaManualePagamento;
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(name="testo_descrittivo", type="string", length=255, nullable=true)
  50.      */
  51.     private $testoDescrittivo;
  52.     /**
  53.      * @var string
  54.      *
  55.      * @ORM\Column(name="pagina", type="string", length=255, nullable=true)
  56.      */
  57.     private $pagina;
  58.     /**
  59.      * @var string
  60.      *
  61.      * @ORM\Column(name="sconto_pagamento", type="decimal", precision=18, scale=2, nullable=true)
  62.      */
  63.     private $scontoPagamento;
  64.     /**
  65.      * @var string
  66.      *
  67.      * @ORM\Column(name="incremento_pagamento", type="decimal", precision=18, scale=2, nullable=true)
  68.      */
  69.     private $incrementoPagamento;
  70.     /**
  71.      * @var string
  72.      *
  73.      * @ORM\Column(name="prezzo_pagamento", type="decimal", precision=18, scale=2, nullable=true)
  74.      */
  75.     private $prezzoPagamento;
  76.     /**
  77.      * @var string
  78.      *
  79.      * @ORM\Column(name="istruzioni_pagamento", type="string", length=255, nullable=true)
  80.      */
  81.     private $istruzioniPagamento;
  82.     /**
  83.      * @var string
  84.      *
  85.      * @ORM\Column(name="immagine", type="string", length=255, nullable=true)
  86.      */
  87.     private $immagine;
  88.     /**
  89.      * @var bool
  90.      *
  91.      * @ORM\Column(name="attivo", type="boolean")
  92.      */
  93.     private $attivo;
  94.     /**
  95.      * @ORM\ManyToOne(targetEntity="User")
  96.      * @ORM\JoinColumn(name="utente_modifica_id", referencedColumnName="id", onDelete="SET NULL")
  97.      */
  98.     private $utenteModifica;
  99.     /**
  100.      * @var \DateTime
  101.      *
  102.      * @ORM\Column(name="data_creazione", type="datetime")
  103.      */
  104.     private $dataCreazione;
  105.     /**
  106.      * @var \DateTime
  107.      *
  108.      * @ORM\Column(name="data_modifica", type="datetime")
  109.      */
  110.     private $dataModifica;
  111.     public function getId(): ?int
  112.     {
  113.         return $this->id;
  114.     }
  115.     public function setNome(string $nome): static
  116.     {
  117.         $this->nome $nome;
  118.         return $this;
  119.     }
  120.     public function getNome(): ?string
  121.     {
  122.         return $this->nome;
  123.     }
  124.     public function setCodiceEsportazione(string $codiceEsportazione): static
  125.     {
  126.         $this->codiceEsportazione $codiceEsportazione;
  127.         return $this;
  128.     }
  129.     public function getCodiceEsportazione(): ?string
  130.     {
  131.         return $this->codiceEsportazione;
  132.     }
  133.     public function setServizioPagamentoAutomatico(?string $servizioPagamentoAutomatico): static
  134.     {
  135.         $this->servizioPagamentoAutomatico $servizioPagamentoAutomatico;
  136.         return $this;
  137.     }
  138.     public function getServizioPagamentoAutomatico(): ?string
  139.     {
  140.         return $this->servizioPagamentoAutomatico;
  141.     }
  142.     public function setConfermaManualePagamento(bool $confermaManualePagamento): static
  143.     {
  144.         $this->confermaManualePagamento $confermaManualePagamento;
  145.         return $this;
  146.     }
  147.     public function getConfermaManualePagamento(): ?bool
  148.     {
  149.         return $this->confermaManualePagamento;
  150.     }
  151.     public function setTestoDescrittivo(?string $testoDescrittivo): static
  152.     {
  153.         $this->testoDescrittivo $testoDescrittivo;
  154.         return $this;
  155.     }
  156.     public function getTestoDescrittivo(): ?string
  157.     {
  158.         return $this->testoDescrittivo;
  159.     }
  160.     public function setPagina(?string $pagina): static
  161.     {
  162.         $this->pagina $pagina;
  163.         return $this;
  164.     }
  165.     public function getPagina(): ?string
  166.     {
  167.         return $this->pagina;
  168.     }
  169.     public function setScontoPagamento(?string $scontoPagamento): static
  170.     {
  171.         $this->scontoPagamento $scontoPagamento;
  172.         return $this;
  173.     }
  174.     public function getScontoPagamento(): ?string
  175.     {
  176.         return $this->scontoPagamento;
  177.     }
  178.     public function setIncrementoPagamento(?string $incrementoPagamento): static
  179.     {
  180.         $this->incrementoPagamento $incrementoPagamento;
  181.         return $this;
  182.     }
  183.     public function getIncrementoPagamento(): ?string
  184.     {
  185.         return $this->incrementoPagamento;
  186.     }
  187.     public function setPrezzoPagamento(?string $prezzoPagamento): static
  188.     {
  189.         $this->prezzoPagamento $prezzoPagamento;
  190.         return $this;
  191.     }
  192.     public function getPrezzoPagamento(): ?string
  193.     {
  194.         return $this->prezzoPagamento;
  195.     }
  196.     public function setIstruzioniPagamento(?string $istruzioniPagamento): static
  197.     {
  198.         $this->istruzioniPagamento $istruzioniPagamento;
  199.         return $this;
  200.     }
  201.     public function getIstruzioniPagamento(): ?string
  202.     {
  203.         return $this->istruzioniPagamento;
  204.     }
  205.     public function setImmagine(?string $immagine): static
  206.     {
  207.         $this->immagine $immagine;
  208.         return $this;
  209.     }
  210.     public function getImmagine(): ?string
  211.     {
  212.         return $this->immagine;
  213.     }
  214.     public function setAttivo(bool $attivo): static
  215.     {
  216.         $this->attivo $attivo;
  217.         return $this;
  218.     }
  219.     public function getAttivo(): ?bool
  220.     {
  221.         return $this->attivo;
  222.     }
  223.     public function setDataCreazione(\DateTimeInterface $dataCreazione): static
  224.     {
  225.         $this->dataCreazione $dataCreazione;
  226.         return $this;
  227.     }
  228.     public function getDataCreazione(): ?\DateTimeInterface
  229.     {
  230.         return $this->dataCreazione;
  231.     }
  232.     public function setDataModifica(\DateTimeInterface $dataModifica): static
  233.     {
  234.         $this->dataModifica $dataModifica;
  235.         return $this;
  236.     }
  237.     public function getDataModifica(): ?\DateTimeInterface
  238.     {
  239.         return $this->dataModifica;
  240.     }
  241.     public function setUtenteModifica(?User $utenteModifica): static
  242.     {
  243.         $this->utenteModifica $utenteModifica;
  244.         return $this;
  245.     }
  246.     public function getUtenteModifica(): ?User
  247.     {
  248.         return $this->utenteModifica;
  249.     }
  250.     public function isConfermaManualePagamento(): ?bool
  251.     {
  252.         return $this->confermaManualePagamento;
  253.     }
  254.     public function isAttivo(): ?bool
  255.     {
  256.         return $this->attivo;
  257.     }
  258. }