package com.yuchen.saas.park.api.vo.park;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author 任业政
 * @Date 2021/9/13 16:55
 * @Description 园区、楼栋等树形结构
 */
@Data
@Accessors(chain = true)
public class PmgBatParkTreeVo {

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

    @ApiModelProperty(value = "type:1、园区 2、楼栋 3、楼层、4、房间")
    private Integer type;

    @ApiModelProperty(value = "名字")
    private String name;

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

    @ApiModelProperty(value = "唯一标识")
    private String mark;

    @ApiModelProperty(value = "子级结构")
    private List<PmgBatParkTreeVo> childrenVoList;
}
