xiaoyi
3 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
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
30
31
32
33
34
35
36
package cn.iocoder.yudao.module.bi.controller.admin.decision.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - 决策支持 KPI 概览 Response VO")
@Data
public class DecisionKpiOverviewRespVO {
 
    @Schema(description = "KPI编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "power_supply_amount")
    private String code;
 
    @Schema(description = "KPI名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "供电量")
    private String name;
 
    @Schema(description = "分类", example = "power_supply")
    private String category;
 
    @Schema(description = "单位", example = "万千瓦时")
    private String unit;
 
    @Schema(description = "当前值", example = "12345.67")
    private BigDecimal value;
 
    @Schema(description = "预警状态:normal/warn/critical", example = "normal")
    private String alertStatus;
 
    @Schema(description = "默认图表类型", example = "number")
    private String chartType;
 
    @Schema(description = "状态:0-禁用 1-启用", example = "1")
    private Integer status;
 
}