package com.njzscloud.dispose.sys.district.pojo.result;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString
public class DistrictTreeResult {

    /**
     * Id; 地区代码
     */
    private String id;

    /**
     * 上级地区代码
     */
    private String pid;

    /**
     * 层级; >= 1
     */
    private Integer tier;

    /**
     * 地区名称
     */
    private String districtName;
    private String initial;
    private String pinyin;
    private Double lng;
    private Double lat;

    private List<DistrictTreeResult> children;
}
