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

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

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: baichaojie
 * @CreateTime: 2024/06/24 15:55
 * @Description: 电梯组织结构树
 * @Version: 1.0
 */
@Data
public class ElevatorTreeVO {
    /**
     * id主键
     */
    private Long id;

    /**
     * 父节点id
     */
    @ApiModelProperty(name = "parentId", value = "父节点id")
    private Long parentId;
    /**
     * 分类名称
     */
    @ApiModelProperty(name = "categoryName", value = "分类名称")
    private String categoryName;
    /**
     * 分类标识
     */
    @ApiModelProperty(name = "categoryCode", value = "分类标识")
    private String categoryCode;
    /**
     * 排序
     */
    @ApiModelProperty(name = "sort", value = "排序")
    private Integer sort;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 业务状态
     */
    @ApiModelProperty("业务状态")
    private Integer status;

    /**
     * 子节点信息
     */
    private List<ElevatorTreeVO> childNodeList = new ArrayList<>();

}