shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.ishop.model.vo;
 
import java.io.Serializable;
 
/**
 * 城市区域记录,前端返回列表数据。
 * @author 时克英
 * @date 2023-06-25
 */
public class CityVo implements Serializable {
 
    public Integer getRegionId() {
        return regionId;
    }
 
    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }
 
    public Integer getParentId() {
        return parentId;
    }
 
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
 
    public String getRegionName() {
        return regionName;
    }
 
    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }
 
    public Integer getRegionType() {
        return regionType;
    }
 
    public void setRegionType(Integer regionType) {
        this.regionType = regionType;
    }
 
    public Boolean getIsChild() {
        return isChild;
    }
 
    public void setIsChild(Boolean child) {
        isChild = child;
    }
 
    //    @ApiModelProperty(value = "区域id")
    private Integer regionId;
 
//    @ApiModelProperty(value = "父区域id")
    private Integer parentId;
 
//    @ApiModelProperty(value = "区域名称")
    private String regionName;
 
//    @ApiModelProperty(value = "区域类型,0-国家、1-省、2-市、3-区、4-街道")
    private Integer regionType;
 
//    @ApiModelProperty(value = "是否呦下级数据")
    private Boolean isChild = false;
 
    public static final int TYPE_COUNTRY = 0;
    public static final int TYPE_PROVINCE = 1;
    public static final int TYPE_CITY = 2;
    public static final int TYPE_DISTRICT = 3;
    public static final int TYPE_STREET = 4;
}