package com.bonus.common.entity.bracelet.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

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

/**
 * @className:BallTreeVo
 * @author:cwchen
 * @date:2024-08-08-10:12
 * @version:1.0
 * @description:球机树
 */
@Data
public class BallTreeVo {

    /**id*/
    private Long id;
    /**名称*/
    private String label;
    /**设备编码*/
    private String devCode;
    /**设备下标*/
    private String devIndex;
    /**父ID*/
    private Long parentId;
    /**球机在线状态*/
    private Integer devStatus;

    private List<BallTreeVo> children = new ArrayList<>();
}
