<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ZamowienieProduktAtrybut
*
* @ORM\Table(name="zamowienie_produkt_atrybut")
* @ORM\Entity
* @ORM\Entity(repositoryClass="App\Repository\ZamowienieProduktAtrybutRepository")
*/
class ZamowienieProduktAtrybut
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="id_zamowienie", type="integer", nullable=false)
*/
private $idZamowienie;
/**
* @var int
*
* @ORM\Column(name="id_grupy", type="integer", nullable=false)
*/
private $idGrupy;
/**
* @var int
*
* @ORM\Column(name="id_atrybuty_produkt", type="integer", nullable=false)
*/
private $idAtrybutyProdukt;
/**
* @var string
*
* @ORM\Column(name="wartosc", type="decimal", precision=10, scale=0, nullable=false)
*/
private $wartosc;
/**
* @var string
*
* @ORM\Column(name="wartosc_text", type="string", length=255, nullable=false)
*/
private $wartoscText;
/**
* @var string
*
* @ORM\Column(name="cena", type="decimal", precision=10, scale=0, nullable=false)
*/
private $cena;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set idZamowienie
*
* @param integer $idZamowienie
*
* @return ZamowienieProduktAtrybut
*/
public function setIdZamowienie($idZamowienie)
{
$this->idZamowienie = $idZamowienie;
return $this;
}
/**
* Get idZamowienie
*
* @return integer
*/
public function getIdZamowienie()
{
return $this->idZamowienie;
}
/**
* Set idGrupy
*
* @param integer $idGrupy
*
* @return ZamowienieProduktAtrybut
*/
public function setIdGrupy($idGrupy)
{
$this->idGrupy = $idGrupy;
return $this;
}
/**
* Get idGrupy
*
* @return integer
*/
public function getIdGrupy()
{
return $this->idGrupy;
}
/**
* Set idAtrybutyProdukt
*
* @param integer $idAtrybutyProdukt
*
* @return ZamowienieProduktAtrybut
*/
public function setIdAtrybutyProdukt($idAtrybutyProdukt)
{
$this->idAtrybutyProdukt = $idAtrybutyProdukt;
return $this;
}
/**
* Get idAtrybutyProdukt
*
* @return integer
*/
public function getIdAtrybutyProdukt()
{
return $this->idAtrybutyProdukt;
}
/**
* Set wartosc
*
* @param string $wartosc
*
* @return ZamowienieProduktAtrybut
*/
public function setWartosc($wartosc)
{
$this->wartosc = $wartosc;
return $this;
}
/**
* Get wartosc
*
* @return string
*/
public function getWartosc()
{
return $this->wartosc;
}
/**
* Set wartoscText
*
* @param string $wartoscText
*
* @return ZamowienieProduktAtrybut
*/
public function setWartoscText($wartoscText)
{
$this->wartoscText = $wartoscText;
return $this;
}
/**
* Get wartoscText
*
* @return string
*/
public function getWartoscText()
{
return $this->wartoscText;
}
/**
* Set cena
*
* @param string $cena
*
* @return ZamowienieProduktAtrybut
*/
public function setCena($cena)
{
$this->cena = $cena;
return $this;
}
/**
* Get cena
*
* @return string
*/
public function getCena()
{
return $this->cena;
}
}