package com.mzl.flower.dto.request.district;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiOperation;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotEmpty;
|
|
@Data
|
@ApiModel("腾讯地图的行政区划 ")
|
public class CreateDistrictTengxunDTO {
|
|
private String id;
|
|
/**
|
* 名称
|
*/
|
@ApiModelProperty(value = "name")
|
@NotEmpty(message = "名称不能为空")
|
private String name;
|
|
/**
|
* 全称
|
*/
|
@ApiModelProperty(value = "fullname")
|
@NotEmpty(message = "全称不能为空")
|
private String fullname;
|
|
/**
|
* 区域编码
|
*/
|
@ApiModelProperty(value = "code")
|
@NotEmpty(message = "编码不能为空")
|
private String code;
|
|
|
@ApiModelProperty(value = "等级")
|
private Integer level;
|
|
/**
|
* 父id
|
*/
|
@ApiModelProperty(value = "父id")
|
private String parentId;
|
|
|
|
}
|