1
0
mirror of synced 2025-01-19 15:01:40 +03:00
2015-02-16 00:53:46 +00:00

30 lines
446 B
PHP

<?php
namespace Doctrine\Tests\Models\GeoNames;
/**
* @Entity
* @Table(name="geonames_country")
* @Cache
*/
class Country
{
/**
* @Id
* @Column(type="string", length=2)
* @GeneratedValue(strategy="NONE")
*/
public $id;
/**
* @Column(type="string", length=255);
*/
public $name;
public function __construct($id, $name)
{
$this->id = $id;
$this->name = $name;
}
}