云
2026-10-26 80eb4f90939402440c7179afe0935069ef85fcf8
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
package com.ruoyi.safe.dto;
 
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.util.List;
 
/**
 * 安全数据驾驶舱-图表节点(支持双层饼图)
 */
@Data
@Schema(name = "SafeChartItemDto", description = "安全数据驾驶舱-图表节点")
public class SafeChartItemDto {
 
    @Schema(description = "名称")
    private String name;
 
    @Schema(description = "数量")
    private String value;
 
    @Schema(description = "占比(百分比数值,如 30.00)")
    private String rate;
 
    @Schema(description = "子节点")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<SafeChartItemDto> children;
}