This commit is contained in:
2026-07-21 13:16:10 +08:00
parent f13963f5b8
commit af06f725fa
28 changed files with 406 additions and 135 deletions

View File

@@ -39,7 +39,10 @@ import static org.springblade.core.cache.constant.CacheConstant.SYS_CACHE;
* @author Chill
*/
public class RegionCache {
public static final String MAIN_CODE = "00";
public static final String ROOT_PARENT_CODE = "0";
public static final String MAIN_CODE = "+86";
public static final String LEGACY_MAIN_CODE = "00";
public static final int COUNTRY_LEVEL = 0;
public static final int PROVINCE_LEVEL = 1;
public static final int CITY_LEVEL = 2;
public static final int DISTRICT_LEVEL = 3;

View File

@@ -93,6 +93,21 @@ public class AirportMaster extends BaseEntity {
*/
@Schema(description = "所属城市")
private String cityName;
/**
* 行政区划编码
*/
@Schema(description = "行政区划编码")
private String regionCode;
/**
* 行政区划
*/
@Schema(description = "行政区划")
private String regionName;
/**
* 详细地址
*/
@Schema(description = "详细地址")
private String detailAddress;
/**
* 经度
*/

View File

@@ -93,6 +93,21 @@ public class RailwayStation extends BaseEntity {
*/
@Schema(description = "所属城市")
private String cityName;
/**
* 行政区划编码
*/
@Schema(description = "行政区划编码")
private String regionCode;
/**
* 行政区划
*/
@Schema(description = "行政区划")
private String regionName;
/**
* 详细地址
*/
@Schema(description = "详细地址")
private String detailAddress;
/**
* 经度
*/