<?php
/**
* Created by Stéphane Brun
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="configurations")
*/
class Configurations
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="key", type="string", length=255)
*/
protected $key;
/**
* @ORM\Column(name="value", type="string", length=255, nullable=true)
*/
protected $value;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @return mixed
*/
public function getKey()
{
return $this->key;
}
/**
* @param mixed $key
* @return Configurations
*/
public function setKey($key)
{
$this->key = $key;
return $this;
}
/**
* @return mixed
*/
public function getValue()
{
return $this->value;
}
/**
* @param mixed $value
* @return Configurations
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
}