src/OfficeBrain/Bundle/OrderBundle/Entity/PreAddToCart.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\OrderBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * PreAddToCart
  6.  *
  7.  * @ORM\Table(name="tbl_pre_add_to_cart", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  8.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\OrderBundle\Entity\PreAddToCartRepository")
  9.  */
  10. class PreAddToCart
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id",type="bigint",length=20 ,options={"unsigned"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     
  21.     /**
  22.      * @var integer
  23.      *
  24.      * @ORM\Column(name="instance_id", type="bigint",length=20 ,options={"unsigned"=true})
  25.      */
  26.     private $instanceId;
  27.     
  28.     /**
  29.      * @var integer
  30.      *
  31.      * @ORM\Column(name="instance_type", type="string", length=255)
  32.      */
  33.     private $instanceType;
  34.     
  35.     /**
  36.      * @var integer
  37.      *
  38.      * @ORM\Column(name="user_id", type="bigint",length=20 ,options={"unsigned"=true})
  39.      */
  40.     private $userId;
  41.     
  42.     /**
  43.      * @var integer
  44.      *
  45.      * @ORM\Column(name="user_type", type="string", length=255)
  46.      */
  47.     private $userType;
  48.     
  49.     /**
  50.      * @var integer
  51.      *
  52.      * @ORM\Column(name="product_id", type="bigint",length=20 ,options={"unsigned"=true})
  53.      */
  54.     private $productId;
  55.     /**
  56.      * @var integer
  57.      *
  58.      * @ORM\Column(name="product_culture_id", type="bigint",length=20 ,options={"unsigned"=true})
  59.      */
  60.     private $productCultureId;
  61.     /**
  62.      * @var string
  63.      *
  64.      * @ORM\Column(name="product_slug", type="string", length=255)
  65.      */
  66.     private $productSlug;
  67.     
  68.     
  69.     /**
  70.      * @var text
  71.      *
  72.      * @ORM\Column(name="product_detail_configuration", type="text", nullable=true)
  73.      */
  74.     private $productDetailConfiguration;
  75.     /**
  76.      * Get id
  77.      *
  78.      * @return integer 
  79.      */
  80.     public function getId()
  81.     {
  82.         return $this->id;
  83.     }
  84.     /**
  85.      * Set instanceId
  86.      *
  87.      * @param integer $instanceId
  88.      * @return PreAddToCart
  89.      */
  90.     public function setInstanceId($instanceId)
  91.     {
  92.         $this->instanceId $instanceId;
  93.         return $this;
  94.     }
  95.     /**
  96.      * Get instanceId
  97.      *
  98.      * @return integer 
  99.      */
  100.     public function getInstanceId()
  101.     {
  102.         return $this->instanceId;
  103.     }
  104.     /**
  105.      * Set instanceType
  106.      *
  107.      * @param string $instanceType
  108.      * @return PreAddToCart
  109.      */
  110.     public function setInstanceType($instanceType)
  111.     {
  112.         $this->instanceType $instanceType;
  113.         return $this;
  114.     }
  115.     /**
  116.      * Get instanceType
  117.      *
  118.      * @return string 
  119.      */
  120.     public function getInstanceType()
  121.     {
  122.         return $this->instanceType;
  123.     }
  124.     /**
  125.      * Set userId
  126.      *
  127.      * @param integer $userId
  128.      * @return PreAddToCart
  129.      */
  130.     public function setUserId($userId)
  131.     {
  132.         $this->userId $userId;
  133.         return $this;
  134.     }
  135.     /**
  136.      * Get userId
  137.      *
  138.      * @return integer 
  139.      */
  140.     public function getUserId()
  141.     {
  142.         return $this->userId;
  143.     }
  144.     /**
  145.      * Set userType
  146.      *
  147.      * @param string $userType
  148.      * @return PreAddToCart
  149.      */
  150.     public function setUserType($userType)
  151.     {
  152.         $this->userType $userType;
  153.         return $this;
  154.     }
  155.     /**
  156.      * Get userType
  157.      *
  158.      * @return string 
  159.      */
  160.     public function getUserType()
  161.     {
  162.         return $this->userType;
  163.     }
  164.     /**
  165.      * Set productId
  166.      *
  167.      * @param integer $productId
  168.      * @return PreAddToCart
  169.      */
  170.     public function setProductId($productId)
  171.     {
  172.         $this->productId $productId;
  173.         return $this;
  174.     }
  175.     /**
  176.      * Get productId
  177.      *
  178.      * @return integer 
  179.      */
  180.     public function getProductId()
  181.     {
  182.         return $this->productId;
  183.     }
  184.     /**
  185.      * Set productCultureId
  186.      *
  187.      * @param integer $productCultureId
  188.      * @return PreAddToCart
  189.      */
  190.     public function setProductCultureId($productCultureId)
  191.     {
  192.         $this->productCultureId $productCultureId;
  193.         return $this;
  194.     }
  195.     /**
  196.      * Get productCultureId
  197.      *
  198.      * @return integer 
  199.      */
  200.     public function getProductCultureId()
  201.     {
  202.         return $this->productCultureId;
  203.     }
  204.     /**
  205.      * Set productSlug
  206.      *
  207.      * @param string $productSlug
  208.      * @return PreAddToCart
  209.      */
  210.     public function setProductSlug($productSlug)
  211.     {
  212.         $this->productSlug $productSlug;
  213.         return $this;
  214.     }
  215.     /**
  216.      * Get productSlug
  217.      *
  218.      * @return string 
  219.      */
  220.     public function getProductSlug()
  221.     {
  222.         return $this->productSlug;
  223.     }
  224.     
  225.     /**
  226.      * Set productDetailConfiguration
  227.      *
  228.      * @param string $productDetailConfiguration
  229.      * @return PreAddToCart
  230.      */
  231.     public function setProductDetailConfiguration($productDetailConfiguration)
  232.     {
  233.         $this->productDetailConfiguration $productDetailConfiguration;
  234.     
  235.         return $this;
  236.     }
  237.     
  238.     /**
  239.      * Get productDetailConfiguration
  240.      *
  241.      * @return string
  242.      */
  243.     public function getProductDetailConfiguration()
  244.     {
  245.         return $this->productDetailConfiguration;
  246.     }    
  247. }