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

import lombok.Data;

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

/**
 * @className:PersonTreeVo
 * @author:cwchen
 * @date:2024-08-09-10:38
 * @version:1.0
 * @description:班组人员树
 */
@Data
public class PersonTreeVo {

    /**id*/
    private String id;
    /**名称*/
    private String label;
    /**是否班组长*/
    private Long isTeamLeader;
    /**是否告警*/
    private Integer isWarn;

    /**层级*/
    private Integer level;

    /**人员类型 0.班组人员 1.临时人员*/
    private Integer type;
    /**父ID*/
    private String parentId;
    /**手环设备ID*/
    private Long devId;
    /**杆塔ID*/
    private Long gtId;
    /**工程ID*/
    private Long proId;
    /**班组ID*/
    private Long teamId;

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