package com.softwarebr.nunu.json;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 省市区三级联动数据返回
 * @date 2019-10-21 17:33:17
 * @author lilin
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AreaResult {

	@ApiModelProperty(value = "id 区域编号", required = true, example = "1")
	private Long id;

	@ApiModelProperty(value = "区域名称", required = true, example = "广东省")
	private String cityName;

	@ApiModelProperty(value = "下级城市", required = true, example = "[]")
	List<AreaResult> citys;
}