<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class KeyValue {
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $keyName;
/**
* @var string|null
*/
private $entryValue;
/**
* @var integer
*/
private $position;
/**
* @var \App\Entity\KeyType
*/
private $keyType;
/**
* Get id.
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set keyName.
*
* @param string $keyName
*
* @return KeyValue
*/
public function setKeyName($keyName) {
$this->keyName = $keyName;
return $this;
}
/**
* Get keyName.
*
* @return string
*/
public function getKeyName() {
return $this->keyName;
}
/**
* Set entryValue.
*
* @param string|null $entryValue
*
* @return KeyValue
*/
public function setEntryValue($entryValue = null) {
$this->entryValue = $entryValue;
return $this;
}
/**
* Get entryValue.
*
* @return string|null
*/
public function getEntryValue() {
return $this->entryValue;
}
/**
* Set position
*
* @param integer $position
*
* @return BoPartnerLocation
*/
public function setPosition($position)
{
$this->position = $position;
return $this;
}
/**
* Get position
*
* @return integer
*/
public function getPosition()
{
return $this->position;
}
/**
* Set keyType.
*
* @param \App\Entity\KeyType $keyType|null
*
* @return KeyValue
*/
public function setKeyType(\App\Entity\KeyType $keyType = null)
{
$this->keyType = $keyType;
return $this;
}
/**
* Get keyType.
*
* @return \App\Entity\KeyType|null
*/
public function getKeyType()
{
return $this->keyType;
}
}