src/OfficeBrain/Bundle/SubShopBundle/Entity/SubshopInstanceMeta.php line 13

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