package cn.iocoder.yudao.module.mes.controller.admin.dv.statistics.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 MesDvMachineryStatisticsRespVO {
|
|
@Schema(description = "设备编号", example = "1")
|
private Long machineryId;
|
|
@Schema(description = "设备编码", example = "EQ-001")
|
private String machineryCode;
|
|
@Schema(description = "设备名称", example = "CNC 加工中心")
|
private String machineryName;
|
|
@Schema(description = "设备类型", example = "加工设备")
|
private String machineryTypeName;
|
|
@Schema(description = "所属车间", example = "一号车间")
|
private String workshopName;
|
|
@Schema(description = "所属工序", example = "车削")
|
private String processName;
|
|
@Schema(description = "设备状态", example = "1")
|
private Integer status;
|
|
@Schema(description = "点检次数", example = "4")
|
private Integer checkCount;
|
|
@Schema(description = "保养次数", example = "2")
|
private Integer maintenCount;
|
|
@Schema(description = "故障(维修)次数", example = "3")
|
private Integer repairCount;
|
|
@Schema(description = "借用次数", example = "1")
|
private Integer borrowCount;
|
|
@Schema(description = "累计维修耗时(小时)", example = "6.50")
|
private BigDecimal repairHours;
|
|
@Schema(description = "统计区间内停机时长(小时)", example = "12.00")
|
private BigDecimal downHours;
|
|
@Schema(description = "使用率(%)=(统计时长-停机时长)/统计时长", example = "97.25")
|
private BigDecimal usageRate;
|
|
@Schema(description = "最近一次报修时间")
|
private LocalDateTime lastRepairTime;
|
|
}
|