Add Country

This commit is contained in:
2013-10-26 13:19:42 +02:00
parent 40a2e40a90
commit 7e0139a8c0
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;
}
}