11 小时以前 55d694aaae4e421b5e55cd941500e08f85cb5d4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.ruoyi.device.vo;
 
import lombok.Data;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * 设备区域树 VO(前端 el-tree 结构)
 */
@Data
public class DeviceAreaTreeDto {
 
    private Long id;
 
    private Long parentId;
 
    /**
     * 节点名称
     */
    private String label;
 
    /**
     * 当前节点及所有子级区域下的设备数量
     */
    private Long deviceCount;
 
    private List<DeviceAreaTreeDto> children = new ArrayList<>();
}