package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel("区域树对象")
@Data
public class AreaTreeResultDTO implements Serializable {
    @ApiModelProperty("区域ID")
    private Long id;

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

    @ApiModelProperty("区域父级ID")
    private Long parentId;


    @ApiModelProperty("子级区域集合")
    private List<AreaTreeResultDTO> children;
}
