Add Country

This commit is contained in:
2013-10-26 13:19:42 +02:00
parent 36e8cfe171
commit 062d2c0ef3
3 changed files with 333 additions and 0 deletions

55
Entity/Country.php Normal file
View File

@@ -0,0 +1,55 @@
<?php
namespace CL\Chill\MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Country
*/
class Country
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $label;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set label
*
* @param string $label
* @return Country
*/
public function setLabel($label)
{
$this->label = $label;
return $this;
}
/**
* Get label
*
* @return string
*/
public function getLabel()
{
return $this->label;
}
}