CityModel.java
962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.xkl.model;
import lombok.Data;
/**
* Created by win7 on 2017/2/27.
*/
@Data
public class CityModel {
long country = 0;//国家
long province = 0;//省(直辖市)
long city = 0;//市(直辖市的区)
long county = 0;//县
int type = 0;
public long getCountry() {
return country;
}
public void setCountry(long country) {
this.country = country;
}
public long getProvince() {
return province;
}
public void setProvince(long province) {
this.province = province;
}
public long getCity() {
return city;
}
public void setCity(long city) {
this.city = city;
}
public long getCounty() {
return county;
}
public void setCounty(long county) {
this.county = county;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
}