Created
April 3, 2020 09:56
-
-
Save Raouf25/e34b83bd71c90b0f402b16d907b45158 to your computer and use it in GitHub Desktop.
City POJO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class City { | |
private String name; | |
private String code; | |
public City() { | |
} | |
public City(String name, String code) { | |
this.name = name; | |
this.code = code; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
public String getCode() { | |
return code; | |
} | |
public void setCode(String code) { | |
this.code = code; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment