src/Entity/Sb/Products.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Sb;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Products
  6.  *
  7.  * @ORM\Table(name="products", indexes={@ORM\Index(name="ORD_ID", columns={"ID_ORD"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\Sb\ProductsRepository")
  9.  */
  10. class Products
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="ID_BA", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idBa;
  20.     /**
  21.      * @var integer
  22.      *
  23.      * @ORM\Column(name="ID_ORD", type="integer", nullable=false)
  24.      */
  25.     private $idOrd;
  26.     /**
  27.      * @var integer
  28.      *
  29.      * @ORM\Column(name="BA_PRID", type="integer", nullable=false)
  30.      */
  31.     private $baPrid;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="BA_PRIDA", type="string", length=15, nullable=false)
  36.      */
  37.     private $baPrida;
  38.     /**
  39.      * @var integer
  40.      *
  41.      * @ORM\Column(name="BA_PRNUM", type="integer", nullable=false)
  42.      */
  43.     private $baPrnum;
  44.     /**
  45.      * @var float
  46.      *
  47.      * @ORM\Column(name="BA_PRPRICEN", type="float", precision=10, scale=2, nullable=false)
  48.      */
  49.     private $baPrpricen;
  50.     /**
  51.      * @var float
  52.      *
  53.      * @ORM\Column(name="BA_PRPRICEB", type="float", precision=10, scale=2, nullable=false)
  54.      */
  55.     private $baPrpriceb;
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="BA_PRNAME", type="string", length=500, nullable=false)
  60.      */
  61.     private $baPrname;
  62.     /**
  63.      * @var \DateTime
  64.      *
  65.      * @ORM\Column(name="EVENT_DATE", type="date", nullable=true)
  66.      */
  67.     private $eventDate;
  68.     /**
  69.      * @var float
  70.      *
  71.      * @ORM\Column(name="rabat", type="float", precision=10, scale=0, nullable=true)
  72.      */
  73.     private $rabat;
  74.     /**
  75.      * Get idBa
  76.      *
  77.      * @return integer
  78.      */
  79.     public function getIdBa()
  80.     {
  81.         return $this->idBa;
  82.     }
  83.     /**
  84.      * Set idOrd
  85.      *
  86.      * @param integer $idOrd
  87.      *
  88.      * @return Products
  89.      */
  90.     public function setIdOrd($idOrd)
  91.     {
  92.         $this->idOrd $idOrd;
  93.         return $this;
  94.     }
  95.     /**
  96.      * Get idOrd
  97.      *
  98.      * @return integer
  99.      */
  100.     public function getIdOrd()
  101.     {
  102.         return $this->idOrd;
  103.     }
  104.     /**
  105.      * Set baPrid
  106.      *
  107.      * @param integer $baPrid
  108.      *
  109.      * @return Products
  110.      */
  111.     public function setBaPrid($baPrid)
  112.     {
  113.         $this->baPrid $baPrid;
  114.         return $this;
  115.     }
  116.     /**
  117.      * Get baPrid
  118.      *
  119.      * @return integer
  120.      */
  121.     public function getBaPrid()
  122.     {
  123.         return $this->baPrid;
  124.     }
  125.     /**
  126.      * Set baPrida
  127.      *
  128.      * @param string $baPrida
  129.      *
  130.      * @return Products
  131.      */
  132.     public function setBaPrida($baPrida)
  133.     {
  134.         $this->baPrida $baPrida;
  135.         return $this;
  136.     }
  137.     /**
  138.      * Get baPrida
  139.      *
  140.      * @return string
  141.      */
  142.     public function getBaPrida()
  143.     {
  144.         return $this->baPrida;
  145.     }
  146.     /**
  147.      * Set baPrnum
  148.      *
  149.      * @param boolean $baPrnum
  150.      *
  151.      * @return Products
  152.      */
  153.     public function setBaPrnum($baPrnum)
  154.     {
  155.         $this->baPrnum $baPrnum;
  156.         return $this;
  157.     }
  158.     /**
  159.      * Get baPrnum
  160.      *
  161.      * @return boolean
  162.      */
  163.     public function getBaPrnum()
  164.     {
  165.         return $this->baPrnum;
  166.     }
  167.     /**
  168.      * Set baPrpricen
  169.      *
  170.      * @param float $baPrpricen
  171.      *
  172.      * @return Products
  173.      */
  174.     public function setBaPrpricen($baPrpricen)
  175.     {
  176.         $this->baPrpricen $baPrpricen;
  177.         return $this;
  178.     }
  179.     /**
  180.      * Get baPrpricen
  181.      *
  182.      * @return float
  183.      */
  184.     public function getBaPrpricen()
  185.     {
  186.         return $this->baPrpricen;
  187.     }
  188.     /**
  189.      * Set baPrpriceb
  190.      *
  191.      * @param float $baPrpriceb
  192.      *
  193.      * @return Products
  194.      */
  195.     public function setBaPrpriceb($baPrpriceb)
  196.     {
  197.         $this->baPrpriceb $baPrpriceb;
  198.         return $this;
  199.     }
  200.     /**
  201.      * Get baPrpriceb
  202.      *
  203.      * @return float
  204.      */
  205.     public function getBaPrpriceb()
  206.     {
  207.         return $this->baPrpriceb;
  208.     }
  209.     /**
  210.      * Set baPrname
  211.      *
  212.      * @param string $baPrname
  213.      *
  214.      * @return Products
  215.      */
  216.     public function setBaPrname($baPrname)
  217.     {
  218.         $this->baPrname $baPrname;
  219.         return $this;
  220.     }
  221.     /**
  222.      * Get baPrname
  223.      *
  224.      * @return string
  225.      */
  226.     public function getBaPrname()
  227.     {
  228.         return $this->baPrname;
  229.     }
  230.     /**
  231.      * Set eventDate
  232.      *
  233.      * @param \DateTime $eventDate
  234.      *
  235.      * @return Products
  236.      */
  237.     public function setEventDate($eventDate)
  238.     {
  239.         $this->eventDate $eventDate;
  240.         return $this;
  241.     }
  242.     /**
  243.      * Get eventDate
  244.      *
  245.      * @return \DateTime
  246.      */
  247.     public function getEventDate()
  248.     {
  249.         return $this->eventDate;
  250.     }
  251.     /**
  252.      * Set rabat
  253.      *
  254.      * @param float $rabat
  255.      *
  256.      * @return Products
  257.      */
  258.     public function setRabat($rabat)
  259.     {
  260.         $this->rabat $rabat;
  261.         return $this;
  262.     }
  263.     /**
  264.      * Get rabat
  265.      *
  266.      * @return float
  267.      */
  268.     public function getRabat()
  269.     {
  270.         return $this->rabat;
  271.     }
  272. }