package cn.iocoder.yudao.module.iot.controller.admin.deviceoperationrecord.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 运行设备报表时间记录 Request VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceTotalTimeRecordRespVO {

//    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4283")
//    private Long id;

    @Schema(description = "设备编码")
    @ExcelProperty("设备编码")
    private String deviceCode;

    @Schema(description = "设备名称")
    @ExcelProperty("设备名称")
    private String deviceName;

    @Schema(description = "运行时间(小时)")
    @ExcelProperty("运行时间(小时)")
    private double totalRunningTime;

    @Schema(description = "待机时间(小时)")
    @ExcelProperty("待机时间(小时)")
    private double totalStandbyTime;

    @Schema(description = "故障时间(小时)")
    @ExcelProperty("故障时间(小时)")
    private double totalFaultTime;

    @Schema(description = "警告时间(小时)")
    @ExcelProperty("警告时间(小时)")
    private double totalWarningTime;

    @Schema(description = "稼动率")
    @ExcelProperty("稼动率")
    private String utilizationRate;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("开始时间")
    private String startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("结束时间")
    private String endTime;
}
