package com.yeejoin.equipmanage.common.vo;

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

import java.util.List;

/**
 * 区域树
 */
@Data
@ApiModel("区域树")
public class AreaTreeVo {

    @ApiModelProperty(value = "id")
    private Long id;

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

    @ApiModelProperty(value = "区域编码")
    private String code;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty("children")
    private List<AreaTreeVo> children;

}
