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

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

import java.util.List;

/**
 * @Author 蔡文强
 * @Date 2023/11/28 15:56
 * @Description 房源树结构Vo
 */
@Data
@ApiModel(value="PropertyHousesTreeVo对象", description="房源树结构Vo")
public class PropertyHousesTreeVo {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "类型(1:园区 2:楼栋 3:单元 4:楼层 5:房间 6：点位)")
    private Integer type;

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

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

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

}
