src/project/OfficeBrain/CustomBundle/ProductBundle/Entity/EspProductData.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\project\OfficeBrain\CustomBundle\ProductBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * EspProductData
  6.  *
  7.  * @ORM\Table("tbl_esp_product_data")
  8.  * @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\ProductBundle\Entity\EspProductDataRepository")
  9.  */
  10. class EspProductData
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="product_sku", type="string", length=255, nullable=true)
  24.      */
  25.     private $productSku;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="esp_product_type", type="string", length=255, nullable=true)
  30.      */
  31.     private $espProductType;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="esp_product_category", type="text", nullable=true)
  36.      */
  37.     private $espProductCategory;
  38.     /**
  39.      * Get id
  40.      *
  41.      * @return integer
  42.      */
  43.     public function getId()
  44.     {
  45.         return $this->id;
  46.     }
  47.     /**
  48.      * Set productSku
  49.      *
  50.      * @param string $productSku
  51.      *
  52.      * @return EspProductData
  53.      */
  54.     public function setProductSku($productSku)
  55.     {
  56.         $this->productSku $productSku;
  57.         return $this;
  58.     }
  59.     /**
  60.      * Get productSku
  61.      *
  62.      * @return string
  63.      */
  64.     public function getProductSku()
  65.     {
  66.         return $this->productSku;
  67.     }
  68.     /**
  69.      * Set espProductType
  70.      *
  71.      * @param string $espProductType
  72.      *
  73.      * @return EspProductData
  74.      */
  75.     public function setEspProductType($espProductType)
  76.     {
  77.         $this->espProductType $espProductType;
  78.         return $this;
  79.     }
  80.     /**
  81.      * Get espProductType
  82.      *
  83.      * @return string
  84.      */
  85.     public function getEspProductType()
  86.     {
  87.         return $this->espProductType;
  88.     }
  89.     /**
  90.      * Set espProductCategory
  91.      *
  92.      * @param string $espProductCategory
  93.      *
  94.      * @return EspProductData
  95.      */
  96.     public function setEspProductCategory($espProductCategory)
  97.     {
  98.         $this->espProductCategory $espProductCategory;
  99.         return $this;
  100.     }
  101.     /**
  102.      * Get espProductCategory
  103.      *
  104.      * @return string
  105.      */
  106.     public function getEspProductCategory()
  107.     {
  108.         return $this->espProductCategory;
  109.     }
  110. }