src/Entity/AtrybutyGrupy.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * AtrybutyGrupy
  6.  *
  7.  * @ORM\Table(name="atrybuty_grupy")
  8.  * @ORM\Entity
  9.  * @ORM\Entity(repositoryClass="App\Repository\AtrybutyGrupyRepository")
  10.  * 
  11.  */
  12. class AtrybutyGrupy
  13. {
  14.     /**
  15.      * @var int
  16.      *
  17.      * @ORM\Column(name="id", type="integer", nullable=false)
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="IDENTITY")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var string
  24.      *
  25.      * @ORM\Column(name="nazwa", type="string", length=255, nullable=false)
  26.      */
  27.     private $nazwa;
  28.     /**
  29.      * @var int
  30.      *
  31.      * @ORM\Column(name="kolejnosc", type="smallint", nullable=false)
  32.      */
  33.     private $kolejnosc;
  34.     /**
  35.      * @var int
  36.      *
  37.      * @ORM\Column(name="typ", type="smallint", nullable=false)
  38.      */
  39.     private $typ;
  40.     /**
  41.      * @var int
  42.      *
  43.      * @ORM\Column(name="pokaz_cene", type="smallint", nullable=false)
  44.      */
  45.     private $pokaz_cene;
  46. /**
  47.      * Get id
  48.      *
  49.      * @return integer
  50.      */
  51.     public function getId()
  52.     {
  53.         return $this->id;
  54.     }
  55.     /**
  56.      * Set nazwa
  57.      *
  58.      * @param string $nazwa
  59.      *
  60.      * @return AtrybutyGrupy
  61.      */
  62.     public function setNazwa($nazwa)
  63.     {
  64.         $this->nazwa $nazwa;
  65.         return $this;
  66.     }
  67.     /**
  68.      * Get nazwa
  69.      *
  70.      * @return string
  71.      */
  72.     public function getNazwa()
  73.     {
  74.         return $this->nazwa;
  75.     }
  76.     /**
  77.      * Set kolejnosc
  78.      *
  79.      * @param integer $kolejnosc
  80.      *
  81.      * @return AtrybutyGrupy
  82.      */
  83.     public function setKolejnosc($kolejnosc)
  84.     {
  85.         $this->kolejnosc $kolejnosc;
  86.         return $this;
  87.     }
  88.     /**
  89.      * Get kolejnosc
  90.      *
  91.      * @return integer
  92.      */
  93.     public function getKolejnosc()
  94.     {
  95.         return $this->kolejnosc;
  96.     }
  97.     
  98.     
  99.     /**
  100.      * Set typ
  101.      *
  102.      * @param integer $typ
  103.      *
  104.      * @return AtrybutyGrupy
  105.      */
  106.     public function setTyp($typ)
  107.     {
  108.         $this->typ $typ;
  109.         return $this;
  110.     }
  111.     /**
  112.      * Get typ
  113.      *
  114.      * @return integer
  115.      */
  116.     public function getTyp()
  117.     {
  118.         return $this->typ;
  119.     }
  120.     /**
  121.      * Set pokazCene
  122.      *
  123.      * @param integer $pokazCene
  124.      *
  125.      * @return AtrybutyGrupy
  126.      */
  127.     public function setPokazCene($pokazCene)
  128.     {
  129.         $this->pokaz_cene $pokazCene;
  130.         return $this;
  131.     }
  132.     /**
  133.      * Get pokazCene
  134.      *
  135.      * @return integer
  136.      */
  137.     public function getPokazCene()
  138.     {
  139.         return $this->pokaz_cene;
  140.     }
  141. }