public class IpRegion
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
city
city
城市
|
private java.lang.String |
country
country
国家
|
private java.lang.String |
province
province
省
|
private java.lang.String |
region
地区信息
|
private static long |
serialVersionUID |
构造器和说明 |
---|
IpRegion(java.lang.String region) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAddress() |
java.lang.String |
getCity() |
java.lang.String |
getCountry() |
java.lang.String |
getProvince() |
java.lang.String |
getRegion() |
void |
setCity(java.lang.String city) |
void |
setCountry(java.lang.String country) |
void |
setProvince(java.lang.String province) |
void |
setRegion(java.lang.String region) |
private static final long serialVersionUID
private java.lang.String region
private java.lang.String country
国家
private java.lang.String province
省
private java.lang.String city
城市
public java.lang.String getRegion()
public void setRegion(java.lang.String region)
region
- the region to setpublic java.lang.String getCountry()
public void setCountry(java.lang.String country)
country
- the country to setpublic java.lang.String getProvince()
public void setProvince(java.lang.String province)
province
- the province to setpublic java.lang.String getCity()
public void setCity(java.lang.String city)
city
- the city to setpublic java.lang.String getAddress()