<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Options
*
* @ORM\Table(name="`Option`")
* @ORM\Entity(repositoryClass="App\Entity\OptionRepository")
*/
class Option
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="option_key", type="string", length=255)
*/
private $key;
/**
* @var string
*
* @ORM\Column(name="option_value", type="text", nullable=true)
*/
private $value;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set optionKey
*
* @param string $key
*
* @return Option
*/
public function setKey($key)
{
$this->key = $key;
return $this;
}
/**
* Get optionKey
*
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Set optionValue
*
* @param string $value
*
* @return Option
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* Get optionValue
*
* @return string
*/
public function getValue()
{
return $this->value;
}
}