From 63bc74dbcecfe38a61c536633d4ca0ed61a3be9b Mon Sep 17 00:00:00 2001 From: Jackwang Date: Thu, 14 Oct 2021 10:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E7=A8=8B=E4=B8=8A=E6=8A=A5-=E5=9C=B0?= =?UTF-8?q?=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/elink/esua/epdc/dto/CityDTO.java | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/CityDTO.java diff --git a/epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/CityDTO.java b/epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/CityDTO.java new file mode 100644 index 0000000..50e5638 --- /dev/null +++ b/epdc-cloud-admin-client/src/main/java/com/elink/esua/epdc/dto/CityDTO.java @@ -0,0 +1,106 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto; + +import lombok.Data; + +import java.io.Serializable; + + +/** + * 2019版全国5级信息表 + * + * @author qu qu@elink-cn.com + * @since v1.0.0 2021-10-14 + */ +@Data +public class CityDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 区划代码 + */ + private Long id; + + /** + * 名称 + */ + private String name; + + /** + * 父级区划代码 + */ + private Long pid; + + /** + * 省代码 + */ + private Long provinceCode; + + /** + * 市代码 + */ + private Long cityCode; + + /** + * 区代码 + */ + private Long areaCode; + + /** + * 街道代码 + */ + private Long streetCode; + + /** + * 居委/社区 + */ + private Long committeeCode; + + /** + * 简称 + */ + private String shortName; + + /** + * 区号 + */ + private String cityNo; + + /** + * 纬度 + */ + private String lat; + + /** + * 经度 + */ + private String lng; + + /** + * 排序 + */ + private Integer sort; + + /** + * 级别: 0-国家 ,1-省, 2-市, 3-区/县, 4-街/镇, 5-社区/居委 + */ + private Integer level; + +} \ No newline at end of file