mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			767 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			767 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace 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;
 | |
|     }
 | |
|     
 | |
|     public function __toString() {
 | |
|         return $this->getLabel();
 | |
|     }
 | |
| }
 |