<?php

namespace OfficeBrain\Bundle\SubShopBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * SubshopInstanceMeta.
 *
 * @ORM\Table("tbl_sub_shop_instance_meta")
 * @ORM\Entity(repositoryClass="OfficeBrain\Bundle\SubShopBundle\Entity\SubshopInstanceMetaRepository")
 */
class SubshopInstanceMeta
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="instance_id", type="integer")
     */
    private $instanceId;

    /**
     * @var string
     *
     * @ORM\Column(name="meta_key", type="string", length=255)
     */
    private $metaKey;

    /**
     * @var string
     *
     * @ORM\Column(name="meta_value", type="text", nullable=true)
     */
    private $metaValue;

    /**
     * Get id.
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set instanceId.
     *
     * @param int $instanceId
     *
     * @return SubshopInstanceMeta
     */
    public function setInstanceId($instanceId)
    {
        $this->instanceId = $instanceId;

        return $this;
    }

    /**
     * Get instanceId.
     *
     * @return int
     */
    public function getInstanceId()
    {
        return $this->instanceId;
    }

    /**
     * Set metaKey.
     *
     * @param string $metaKey
     *
     * @return SubshopInstanceMeta
     */
    public function setMetaKey($metaKey)
    {
        $this->metaKey = $metaKey;

        return $this;
    }

    /**
     * Get metaKey.
     *
     * @return string
     */
    public function getMetaKey()
    {
        return $this->metaKey;
    }

    /**
     * Set metaValue.
     *
     * @param string $metaValue
     *
     * @return SubshopInstanceMeta
     */
    public function setMetaValue($metaValue)
    {
        $this->metaValue = $metaValue;

        return $this;
    }

    /**
     * Get metaValue.
     *
     * @return string
     */
    public function getMetaValue()
    {
        return $this->metaValue;
    }
}
