1 package com.weather.information.model.forecastweather;
3 import java.io.Serializable;
6 public class City implements Serializable {
7 private static final long serialVersionUID = 3079687975077030704L;
9 private String country;
12 private Number population;
14 public Coord getCoord(){
17 public void setCoord(final Coord coord){
20 public String getCountry(){
23 public void setCountry(final String country){
24 this.country = country;
26 public Number getId(){
29 public void setId(final Number id){
32 public String getName(){
35 public void setName(final String name){
38 public Number getPopulation(){
39 return this.population;
41 public void setPopulation(final Number population){
42 this.population = population;
46 public String toString() {
47 final StringBuilder builder = new StringBuilder();
48 builder.append("City [coord=").append(this.coord).append(", country=").append(this.country)
49 .append(", id=").append(this.id).append(", name=").append(this.name)
50 .append(", population=").append(this.population).append("]");
51 return builder.toString();