<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AtrybutyGrupy
*
* @ORM\Table(name="atrybuty_grupy")
* @ORM\Entity
* @ORM\Entity(repositoryClass="App\Repository\AtrybutyGrupyRepository")
*
*/
class AtrybutyGrupy
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nazwa", type="string", length=255, nullable=false)
*/
private $nazwa;
/**
* @var int
*
* @ORM\Column(name="kolejnosc", type="smallint", nullable=false)
*/
private $kolejnosc;
/**
* @var int
*
* @ORM\Column(name="typ", type="smallint", nullable=false)
*/
private $typ;
/**
* @var int
*
* @ORM\Column(name="pokaz_cene", type="smallint", nullable=false)
*/
private $pokaz_cene;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set nazwa
*
* @param string $nazwa
*
* @return AtrybutyGrupy
*/
public function setNazwa($nazwa)
{
$this->nazwa = $nazwa;
return $this;
}
/**
* Get nazwa
*
* @return string
*/
public function getNazwa()
{
return $this->nazwa;
}
/**
* Set kolejnosc
*
* @param integer $kolejnosc
*
* @return AtrybutyGrupy
*/
public function setKolejnosc($kolejnosc)
{
$this->kolejnosc = $kolejnosc;
return $this;
}
/**
* Get kolejnosc
*
* @return integer
*/
public function getKolejnosc()
{
return $this->kolejnosc;
}
/**
* Set typ
*
* @param integer $typ
*
* @return AtrybutyGrupy
*/
public function setTyp($typ)
{
$this->typ = $typ;
return $this;
}
/**
* Get typ
*
* @return integer
*/
public function getTyp()
{
return $this->typ;
}
/**
* Set pokazCene
*
* @param integer $pokazCene
*
* @return AtrybutyGrupy
*/
public function setPokazCene($pokazCene)
{
$this->pokaz_cene = $pokazCene;
return $this;
}
/**
* Get pokazCene
*
* @return integer
*/
public function getPokazCene()
{
return $this->pokaz_cene;
}
}