package cn.iocoder.yudao.module.mes.controller.admin.em.quota.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; @Schema(description = "管理后台 - MES 能耗考核指标 Response VO") @Data public class MesEmQuotaRespVO { @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") private Long id; @Schema(description = "指标名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "变压器车间用电日定额") private String name; @Schema(description = "能源类型", example = "1") private Integer energyType; @Schema(description = "能源类型名称", example = "电") private String energyTypeName; @Schema(description = "考核对象类型", example = "1") private Integer objectType; @Schema(description = "考核对象类型名称", example = "车间") private String objectTypeName; @Schema(description = "考核对象编号", example = "7") private Long objectId; @Schema(description = "考核对象名称", example = "变压器制造车间") private String objectName; @Schema(description = "考核周期", example = "1") private Integer periodType; @Schema(description = "考核周期名称", example = "日") private String periodTypeName; @Schema(description = "定额值", example = "1000") private BigDecimal quotaValue; @Schema(description = "计量单位", example = "kWh") private String unit; @Schema(description = "预警比例(%)", example = "10") private BigDecimal warnRatio; @Schema(description = "严重预警比例(%)", example = "20") private BigDecimal alarmRatio; @Schema(description = "环比异常阈值(%)", example = "30") private BigDecimal momWarnRatio; @Schema(description = "同比异常阈值(%)", example = "30") private BigDecimal yoyWarnRatio; @Schema(description = "状态", example = "1") private Integer status; @Schema(description = "状态名称", example = "启用") private String statusName; @Schema(description = "备注") private String remark; @Schema(description = "创建时间") private LocalDateTime createTime; }