src/Entity/ZamowienieProduktAtrybut.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ZamowienieProduktAtrybut
  6.  *
  7.  * @ORM\Table(name="zamowienie_produkt_atrybut")
  8.  * @ORM\Entity
  9.  * @ORM\Entity(repositoryClass="App\Repository\ZamowienieProduktAtrybutRepository")
  10.  */
  11. class ZamowienieProduktAtrybut
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var int
  23.      *
  24.      * @ORM\Column(name="id_zamowienie", type="integer", nullable=false)
  25.      */
  26.     private $idZamowienie;
  27.     /**
  28.      * @var int
  29.      *
  30.      * @ORM\Column(name="id_grupy", type="integer", nullable=false)
  31.      */
  32.     private $idGrupy;
  33.     /**
  34.      * @var int
  35.      *
  36.      * @ORM\Column(name="id_atrybuty_produkt", type="integer", nullable=false)
  37.      */
  38.     private $idAtrybutyProdukt;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="wartosc", type="decimal", precision=10, scale=0, nullable=false)
  43.      */
  44.     private $wartosc;
  45.     /**
  46.      * @var string
  47.      *
  48.      * @ORM\Column(name="wartosc_text", type="string", length=255, nullable=false)
  49.      */
  50.     private $wartoscText;
  51.     /**
  52.      * @var string
  53.      *
  54.      * @ORM\Column(name="cena", type="decimal", precision=10, scale=0, nullable=false)
  55.      */
  56.     private $cena;
  57.     /**
  58.      * Get id
  59.      *
  60.      * @return integer
  61.      */
  62.     public function getId()
  63.     {
  64.         return $this->id;
  65.     }
  66.     /**
  67.      * Set idZamowienie
  68.      *
  69.      * @param integer $idZamowienie
  70.      *
  71.      * @return ZamowienieProduktAtrybut
  72.      */
  73.     public function setIdZamowienie($idZamowienie)
  74.     {
  75.         $this->idZamowienie $idZamowienie;
  76.         return $this;
  77.     }
  78.     /**
  79.      * Get idZamowienie
  80.      *
  81.      * @return integer
  82.      */
  83.     public function getIdZamowienie()
  84.     {
  85.         return $this->idZamowienie;
  86.     }
  87.     /**
  88.      * Set idGrupy
  89.      *
  90.      * @param integer $idGrupy
  91.      *
  92.      * @return ZamowienieProduktAtrybut
  93.      */
  94.     public function setIdGrupy($idGrupy)
  95.     {
  96.         $this->idGrupy $idGrupy;
  97.         return $this;
  98.     }
  99.     /**
  100.      * Get idGrupy
  101.      *
  102.      * @return integer
  103.      */
  104.     public function getIdGrupy()
  105.     {
  106.         return $this->idGrupy;
  107.     }
  108.     /**
  109.      * Set idAtrybutyProdukt
  110.      *
  111.      * @param integer $idAtrybutyProdukt
  112.      *
  113.      * @return ZamowienieProduktAtrybut
  114.      */
  115.     public function setIdAtrybutyProdukt($idAtrybutyProdukt)
  116.     {
  117.         $this->idAtrybutyProdukt $idAtrybutyProdukt;
  118.         return $this;
  119.     }
  120.     /**
  121.      * Get idAtrybutyProdukt
  122.      *
  123.      * @return integer
  124.      */
  125.     public function getIdAtrybutyProdukt()
  126.     {
  127.         return $this->idAtrybutyProdukt;
  128.     }
  129.     /**
  130.      * Set wartosc
  131.      *
  132.      * @param string $wartosc
  133.      *
  134.      * @return ZamowienieProduktAtrybut
  135.      */
  136.     public function setWartosc($wartosc)
  137.     {
  138.         $this->wartosc $wartosc;
  139.         return $this;
  140.     }
  141.     /**
  142.      * Get wartosc
  143.      *
  144.      * @return string
  145.      */
  146.     public function getWartosc()
  147.     {
  148.         return $this->wartosc;
  149.     }
  150.     /**
  151.      * Set wartoscText
  152.      *
  153.      * @param string $wartoscText
  154.      *
  155.      * @return ZamowienieProduktAtrybut
  156.      */
  157.     public function setWartoscText($wartoscText)
  158.     {
  159.         $this->wartoscText $wartoscText;
  160.         return $this;
  161.     }
  162.     /**
  163.      * Get wartoscText
  164.      *
  165.      * @return string
  166.      */
  167.     public function getWartoscText()
  168.     {
  169.         return $this->wartoscText;
  170.     }
  171.     /**
  172.      * Set cena
  173.      *
  174.      * @param string $cena
  175.      *
  176.      * @return ZamowienieProduktAtrybut
  177.      */
  178.     public function setCena($cena)
  179.     {
  180.         $this->cena $cena;
  181.         return $this;
  182.     }
  183.     /**
  184.      * Get cena
  185.      *
  186.      * @return string
  187.      */
  188.     public function getCena()
  189.     {
  190.         return $this->cena;
  191.     }
  192. }