From 8ddec1fa60bdbd2d970cff7b4bf2ae5b4ded1627 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期日, 29 十二月 2024 14:58:28 +0800 Subject: [PATCH] 1.腾讯地图:定时任务每天凌晨5点 --- src/main/java/com/mzl/flower/dto/request/district/CreateDistrictGaodeDTO.java | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mzl/flower/dto/request/district/CreateDistrictGaodeDTO.java b/src/main/java/com/mzl/flower/dto/request/district/CreateDistrictGaodeDTO.java new file mode 100644 index 0000000..154a75f --- /dev/null +++ b/src/main/java/com/mzl/flower/dto/request/district/CreateDistrictGaodeDTO.java @@ -0,0 +1,59 @@ +package com.mzl.flower.dto.request.district; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotEmpty; + +@Data +@ApiModel("高德地图的行政区划 ") +public class CreateDistrictGaodeDTO { + + private String id; + + /** + * 名称 + */ + @ApiModelProperty(value = "name") + @NotEmpty(message = "名称不能为空") + private String name; + + /** + * 区域编码 + */ + @ApiModelProperty(value = "citycode") + private String citycode; + + /** + * 区域编码 + */ + @NotEmpty(message = "区域编码不能为空") + @ApiModelProperty(value = "adcode") + private String adcode; + + + /** + * 行政区域边界坐标点 + */ + @ApiModelProperty(value = "adcode") + private String polyline; + + /** + * 区域中心点 + */ + @ApiModelProperty(value = "adcode") + private String center; + + + @ApiModelProperty(value = "等级") + private String level; + + /** + * 父id + */ + @ApiModelProperty(value = "父id") + private String parentId; + + +} -- Gitblit v1.9.3