package com.njcn.system.pojo.vo;

import com.njcn.web.pojo.vo.AreaIdVO;
import com.njcn.web.pojo.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;

/**
 * @author denghuajun
 * @date 2022/1/6 10:03
 *
 */
@Data
public class AreaTreeVO extends BaseVO {

    @ApiModelProperty("上层所有节点")
    private String pids;

    @ApiModelProperty("区域名称")
    private String name;

    @ApiModelProperty("简称")
    private String shortName;

    @ApiModelProperty("排序(编号)")
    private String areaCode;


    @ApiModelProperty("中心点经度")
    private BigDecimal lng;

    @ApiModelProperty("中心点纬度")
    private BigDecimal lat;


    @ApiModelProperty("子节点详细信息")
    private List<AreaTreeVO> children ;

}
