city {.u-pearl}

Representation of one city.

It is known to all that a city is a town where a group of people lives. For example Madrid is a city.

Obviously, cities are grouped in countries{.u-pearl .u-red-hover}.

attributes {.u-pearl}

code {.u-pearl}
[int] {.u-lightPearl}

It indicates the city code.


name {.u-pearl}
[string] {.u-lightPearl}

It describes the city name.


countrycode {.u-pearl}
[int] {.u-lightPearl}

It indicates the country code where the city exists.


lat {.u-pearl}
[float] {.u-lightPearl}

It indicates the city latitude.


long {.u-pearl}
[float] {.u-lightPearl}

It indicates the city longitude.