对比新文件 |
| | |
| | | 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; |
| | | |
| | | |
| | | } |