Esta es la entidad real... quedo atento gracias
Código PHP:
<?php
namespace AppBundleEntity;
use DoctrineORMMapping as ORM;
/**
* Country
*
* @ORM\Table(name="pais")
* @ORM\Entity
*/
class Pais
{
/**
* @var string
*
* @ORM\Column(name="iso_code", type="string", length=45)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $isoCode;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=45, nullable=false)
*/
private $name;
/**
* Set isoCode
*
* @param string $isoCode
* @return isoCode
*/
public function setIso($isoCode)
{
$this->isoCode = $isoCode;
return $this;
}
/**
* Get isoCode
*
* @return string
*/
public function getIso()
{
return $this->isoCode;
}
/**
* Set name
*
* @param string $name
* @return Country
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
}