src/Entity/OfferteRighe.php line 14

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * OfferteRighe
  7.  *
  8.  * @ORM\Table(name="offerte_righe")
  9.  * @ORM\Entity(repositoryClass="App\Repository\OfferteRigheRepository")
  10.  */
  11. class OfferteRighe
  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 int
  23.      *
  24.      * @ORM\Column(name="numero_riga", type="integer")
  25.      */
  26.     private $numeroRiga;
  27.     /**
  28.      * @ORM\ManyToOne(targetEntity="App\Entity\Offerte", inversedBy="righe", cascade={"persist"})
  29.      */
  30.     private $offerta;
  31.     /**
  32.      * @var string
  33.      *
  34.      * @ORM\Column(name="macro_categoria", type="string", length=255, nullable=true)
  35.      */
  36.     private $macroCategoria;
  37.     /**
  38.      * @var string
  39.      *
  40.      * @ORM\Column(name="codice_articolo", type="string", length=255, nullable=true)
  41.      */
  42.     private $codiceArticolo;
  43.     /**
  44.      * @var string
  45.      *
  46.      * @ORM\Column(name="descrizione_articolo", type="string", length=255, nullable=true)
  47.      */
  48.     private $descrizioneArticolo;
  49.     /**
  50.      * @var string
  51.      *
  52.      * @ORM\Column(name="descrizione_secondaria_articolo", type="string", length=255, nullable=true)
  53.      */
  54.     private $descrizioneSecondariaArticolo;
  55.     /**
  56.      * @var string
  57.      *
  58.      * @ORM\Column(name="marca", type="string", length=255, nullable=true)
  59.      */
  60.     private $marca;
  61.     /**
  62.      * @var string
  63.      *
  64.      * @ORM\Column(name="um", type="string", length=255, nullable=true)
  65.      */
  66.     private $um;
  67.     /**
  68.      * @var string
  69.      *
  70.      * @ORM\Column(name="stringa_sconti", type="string", length=255, nullable=true)
  71.      */
  72.     private $stringaSconti;
  73.     /**
  74.      * @var string
  75.      *
  76.      * @ORM\Column(name="qta", type="decimal", precision=18, scale=5, nullable=true)
  77.      */
  78.     private $qta;
  79.     /**
  80.      * @var string
  81.      *
  82.      * @ORM\Column(name="nota_riga", type="text", nullable=true)
  83.      */
  84.     private $notaRiga;
  85.     /**
  86.      * @var string
  87.      *
  88.      * @ORM\Column(name="nota_riga_aziendale", type="text", nullable=true)
  89.      */
  90.     private $notaRigaAziendale;
  91.     /**
  92.      * @var string
  93.      *
  94.      * @ORM\Column(name="nota_riga_modificabile_json", type="text", nullable=true)
  95.      */
  96.     private $notaRigaModificabileJson;
  97.     /**
  98.      * @var string
  99.      *
  100.      * @ORM\Column(name="netto_cad", type="decimal", precision=18, scale=5, nullable=true)
  101.      */
  102.     private $nettoCad;
  103.     /**
  104.      * @var string
  105.      *
  106.      * @ORM\Column(name="lordo_cad", type="decimal", precision=18, scale=5, nullable=true)
  107.      */
  108.     private $lordoCad;
  109.     /**
  110.      * @var string
  111.      *
  112.      * @ORM\Column(name="netto_totale", type="decimal", precision=18, scale=5, nullable=true)
  113.      */
  114.     private $nettoTotale;
  115.     /**
  116.      * @var string
  117.      *
  118.      * @ORM\Column(name="lordo_totale", type="decimal", precision=18, scale=5, nullable=true)
  119.      */
  120.     private $lordoTotale;
  121.     /**
  122.      * @var string
  123.      *
  124.      * @ORM\Column(name="imposta", type="decimal", precision=18, scale=5, nullable=true)
  125.      */
  126.     private $imposta;
  127.     /**
  128.      * @var string
  129.      *
  130.      * @ORM\Column(name="imponibile", type="decimal", precision=18, scale=5, nullable=true)
  131.      */
  132.     private $imponibile;
  133.     /**
  134.      * @ORM\ManyToOne(targetEntity="App\Entity\MappaCategorieArticoli")
  135.      * @ORM\JoinColumn(name="collegamento_mappa_categorie_articoli_id", referencedColumnName="id", onDelete="SET NULL")
  136.      */
  137.     private $collegamentoMappaCategorieArticoli;
  138.     /**
  139.      * @ORM\ManyToOne(targetEntity="App\Entity\Varianti")
  140.      * @ORM\JoinColumn(name="collegamento_variante_id", referencedColumnName="id", onDelete="SET NULL")
  141.      */
  142.     private $collegamentoVariante;
  143.     /**
  144.      * @var string
  145.      *
  146.      * @ORM\Column(name="codice_variante", type="string", length=255, nullable=true)
  147.      */
  148.     private $codiceVariante;
  149.     /**
  150.      * @ORM\ManyToOne(targetEntity="User")
  151.      * @ORM\JoinColumn(name="utente_creazione_id", referencedColumnName="id", onDelete="SET NULL")
  152.      */
  153.     private $utenteCreazione;
  154.     /**
  155.      * @var string
  156.      *
  157.      * @ORM\Column(name="codice_cat1", type="string", length=255, nullable=true)
  158.      */
  159.     private $codiceCat1;
  160.     /**
  161.      * @var string
  162.      *
  163.      * @ORM\Column(name="codice_cat2", type="string", length=255, nullable=true)
  164.      */
  165.     private $codiceCat2;
  166.     /**
  167.      * @var string
  168.      *
  169.      * @ORM\Column(name="codice_cat3", type="string", length=255, nullable=true)
  170.      */
  171.     private $codiceCat3;
  172.     /**
  173.      * @var string
  174.      *
  175.      * @ORM\Column(name="codice_cat4", type="string", length=255, nullable=true)
  176.      */
  177.     private $codiceCat4;
  178.     /**
  179.      * @var string
  180.      *
  181.      * @ORM\Column(name="codice_cat5", type="string", length=255, nullable=true)
  182.      */
  183.     private $codiceCat5;
  184.     /**
  185.      * @var \DateTime
  186.      *
  187.      * @ORM\Column(name="data_creazione", type="datetime")
  188.      */
  189.     private $dataCreazione;
  190.     /**
  191.      * @var \DateTime
  192.      *
  193.      * @ORM\Column(name="data_modifica", type="datetime")
  194.      */
  195.     private $dataModifica;
  196.     /**
  197.      * @ORM\ManyToOne(targetEntity="Varianti")
  198.      * @ORM\JoinColumn(name="variante_id", referencedColumnName="id", onDelete="SET NULL")
  199.      */
  200.     private $variante;
  201.     /**
  202.      * @ORM\ManyToOne(targetEntity="Articoli")
  203.      * @ORM\JoinColumn(name="articolo_id", referencedColumnName="id", onDelete="SET NULL")
  204.      */
  205.     private $articolo;
  206.     /**
  207.      * @ORM\ManyToOne(targetEntity="User")
  208.      * @ORM\JoinColumn(name="utente_modifica_id", referencedColumnName="id", onDelete="SET NULL")
  209.      */
  210.     private $utenteModifica;
  211.     /**
  212.      * @var string
  213.      *
  214.      * @ORM\Column(name="stato", type="string", length=255, nullable=true)
  215.      */
  216.     private $stato;
  217.     public function getId(): ?int
  218.     {
  219.         return $this->id;
  220.     }
  221.     public function setMacroCategoria(?string $macroCategoria): static
  222.     {
  223.         $this->macroCategoria $macroCategoria;
  224.         return $this;
  225.     }
  226.     public function getMacroCategoria(): ?string
  227.     {
  228.         return $this->macroCategoria;
  229.     }
  230.     public function setCodiceArticolo(?string $codiceArticolo): static
  231.     {
  232.         $this->codiceArticolo $codiceArticolo;
  233.         return $this;
  234.     }
  235.     public function getCodiceArticolo(): ?string
  236.     {
  237.         return $this->codiceArticolo;
  238.     }
  239.     public function setDescrizioneArticolo(?string $descrizioneArticolo): static
  240.     {
  241.         $this->descrizioneArticolo $descrizioneArticolo;
  242.         return $this;
  243.     }
  244.     public function getDescrizioneArticolo(): ?string
  245.     {
  246.         return $this->descrizioneArticolo;
  247.     }
  248.     public function setDescrizioneSecondariaArticolo(?string $descrizioneSecondariaArticolo): static
  249.     {
  250.         $this->descrizioneSecondariaArticolo $descrizioneSecondariaArticolo;
  251.         return $this;
  252.     }
  253.     public function getDescrizioneSecondariaArticolo(): ?string
  254.     {
  255.         return $this->descrizioneSecondariaArticolo;
  256.     }
  257.     public function setMarca(?string $marca): static
  258.     {
  259.         $this->marca $marca;
  260.         return $this;
  261.     }
  262.     public function getMarca(): ?string
  263.     {
  264.         return $this->marca;
  265.     }
  266.     public function setUm(?string $um): static
  267.     {
  268.         $this->um $um;
  269.         return $this;
  270.     }
  271.     public function getUm(): ?string
  272.     {
  273.         return $this->um;
  274.     }
  275.     public function setQta(?string $qta): static
  276.     {
  277.         $this->qta $qta;
  278.         return $this;
  279.     }
  280.     public function getQta(): ?string
  281.     {
  282.         return $this->qta;
  283.     }
  284.     public function setNotaRiga(?string $notaRiga): static
  285.     {
  286.         $this->notaRiga $notaRiga;
  287.         return $this;
  288.     }
  289.     public function getNotaRiga(): ?string
  290.     {
  291.         return $this->notaRiga;
  292.     }
  293.     public function setNotaRigaModificabileJson(?string $notaRigaModificabileJson): static
  294.     {
  295.         $this->notaRigaModificabileJson $notaRigaModificabileJson;
  296.         return $this;
  297.     }
  298.     public function getNotaRigaModificabileJson(): ?string
  299.     {
  300.         return $this->notaRigaModificabileJson;
  301.     }
  302.     public function setNettoCad(?string $nettoCad): static
  303.     {
  304.         $this->nettoCad $nettoCad;
  305.         return $this;
  306.     }
  307.     public function getNettoCad(): ?string
  308.     {
  309.         return $this->nettoCad;
  310.     }
  311.     public function setLordoCad(?string $lordoCad): static
  312.     {
  313.         $this->lordoCad $lordoCad;
  314.         return $this;
  315.     }
  316.     public function getLordoCad(): ?string
  317.     {
  318.         return $this->lordoCad;
  319.     }
  320.     public function setNettoTotale(?string $nettoTotale): static
  321.     {
  322.         $this->nettoTotale $nettoTotale;
  323.         return $this;
  324.     }
  325.     public function getNettoTotale(): ?string
  326.     {
  327.         return $this->nettoTotale;
  328.     }
  329.     public function setLordoTotale(?string $lordoTotale): static
  330.     {
  331.         $this->lordoTotale $lordoTotale;
  332.         return $this;
  333.     }
  334.     public function getLordoTotale(): ?string
  335.     {
  336.         return $this->lordoTotale;
  337.     }
  338.     public function setImposta(?string $imposta): static
  339.     {
  340.         $this->imposta $imposta;
  341.         return $this;
  342.     }
  343.     public function getImposta(): ?string
  344.     {
  345.         return $this->imposta;
  346.     }
  347.     public function setImponibile(?string $imponibile): static
  348.     {
  349.         $this->imponibile $imponibile;
  350.         return $this;
  351.     }
  352.     public function getImponibile(): ?string
  353.     {
  354.         return $this->imponibile;
  355.     }
  356.     public function setDataCreazione(\DateTimeInterface $dataCreazione): static
  357.     {
  358.         $this->dataCreazione $dataCreazione;
  359.         return $this;
  360.     }
  361.     public function getDataCreazione(): ?\DateTimeInterface
  362.     {
  363.         return $this->dataCreazione;
  364.     }
  365.     public function setDataModifica(\DateTimeInterface $dataModifica): static
  366.     {
  367.         $this->dataModifica $dataModifica;
  368.         return $this;
  369.     }
  370.     public function getDataModifica(): ?\DateTimeInterface
  371.     {
  372.         return $this->dataModifica;
  373.     }
  374.     public function setOfferta(?Offerte $offerta): static
  375.     {
  376.         $this->offerta $offerta;
  377.         return $this;
  378.     }
  379.     public function getOfferta(): ?Offerte
  380.     {
  381.         return $this->offerta;
  382.     }
  383.     public function setCollegamentoMappaCategorieArticoli(?MappaCategorieArticoli $collegamentoMappaCategorieArticoli): static
  384.     {
  385.         $this->collegamentoMappaCategorieArticoli $collegamentoMappaCategorieArticoli;
  386.         return $this;
  387.     }
  388.     public function getCollegamentoMappaCategorieArticoli(): ?MappaCategorieArticoli
  389.     {
  390.         return $this->collegamentoMappaCategorieArticoli;
  391.     }
  392.     public function setUtenteCreazione(?User $utenteCreazione): static
  393.     {
  394.         $this->utenteCreazione $utenteCreazione;
  395.         return $this;
  396.     }
  397.     public function getUtenteCreazione(): ?User
  398.     {
  399.         return $this->utenteCreazione;
  400.     }
  401.     public function setUtenteModifica(?User $utenteModifica): static
  402.     {
  403.         $this->utenteModifica $utenteModifica;
  404.         return $this;
  405.     }
  406.     public function getUtenteModifica(): ?User
  407.     {
  408.         return $this->utenteModifica;
  409.     }
  410.     public function setStringaSconti(?string $stringaSconti): static
  411.     {
  412.         $this->stringaSconti $stringaSconti;
  413.         return $this;
  414.     }
  415.     public function getStringaSconti(): ?string
  416.     {
  417.         return $this->stringaSconti;
  418.     }
  419.     public function setNumeroRiga(int $numeroRiga): static
  420.     {
  421.         $this->numeroRiga $numeroRiga;
  422.         return $this;
  423.     }
  424.     public function getNumeroRiga(): ?int
  425.     {
  426.         return $this->numeroRiga;
  427.     }
  428.     public function getVariante(): ?Varianti
  429.     {
  430.         return $this->variante;
  431.     }
  432.     public function setVariante(?Varianti $variante): static
  433.     {
  434.         $this->variante $variante;
  435.         return $this;
  436.     }
  437.     public function getArticolo(): ?Articoli
  438.     {
  439.         return $this->articolo;
  440.     }
  441.     public function setArticolo(?Articoli $articolo): static
  442.     {
  443.         $this->articolo $articolo;
  444.         return $this;
  445.     }
  446.     public function getCodiceVariante(): ?string
  447.     {
  448.         return $this->codiceVariante;
  449.     }
  450.     public function setCodiceVariante(?string $codiceVariante): static
  451.     {
  452.         $this->codiceVariante $codiceVariante;
  453.         return $this;
  454.     }
  455.     public function getCollegamentoVariante(): ?Varianti
  456.     {
  457.         return $this->collegamentoVariante;
  458.     }
  459.     public function setCollegamentoVariante(?Varianti $collegamentoVariante): static
  460.     {
  461.         $this->collegamentoVariante $collegamentoVariante;
  462.         return $this;
  463.     }
  464.     public function getCodiceCat1(): ?string
  465.     {
  466.         return $this->codiceCat1;
  467.     }
  468.     public function setCodiceCat1(?string $codiceCat1): static
  469.     {
  470.         $this->codiceCat1 $codiceCat1;
  471.         return $this;
  472.     }
  473.     public function getCodiceCat2(): ?string
  474.     {
  475.         return $this->codiceCat2;
  476.     }
  477.     public function setCodiceCat2(?string $codiceCat2): static
  478.     {
  479.         $this->codiceCat2 $codiceCat2;
  480.         return $this;
  481.     }
  482.     public function getCodiceCat3(): ?string
  483.     {
  484.         return $this->codiceCat3;
  485.     }
  486.     public function setCodiceCat3(?string $codiceCat3): static
  487.     {
  488.         $this->codiceCat3 $codiceCat3;
  489.         return $this;
  490.     }
  491.     public function getCodiceCat4(): ?string
  492.     {
  493.         return $this->codiceCat4;
  494.     }
  495.     public function setCodiceCat4(?string $codiceCat4): static
  496.     {
  497.         $this->codiceCat4 $codiceCat4;
  498.         return $this;
  499.     }
  500.     public function getCodiceCat5(): ?string
  501.     {
  502.         return $this->codiceCat5;
  503.     }
  504.     public function setCodiceCat5(?string $codiceCat5): static
  505.     {
  506.         $this->codiceCat5 $codiceCat5;
  507.         return $this;
  508.     }
  509.     public function getNotaRigaAziendale(): ?string
  510.     {
  511.         return $this->notaRigaAziendale;
  512.     }
  513.     public function setNotaRigaAziendale(?string $notaRigaAziendale): static
  514.     {
  515.         $this->notaRigaAziendale $notaRigaAziendale;
  516.         return $this;
  517.     }
  518.     public function getStato(): ?string
  519.     {
  520.         return $this->stato;
  521.     }
  522.     public function setStato(?string $stato): static
  523.     {
  524.         $this->stato $stato;
  525.         return $this;
  526.     }
  527. }