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;
|
|
}
|