package cn.iocoder.yudao.module.mes.controller.admin.energydevice.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 = "管理后台 - 能耗管理-能耗报表导出 Response VO")
@Data
@ExcelIgnoreUnannotated
public class EnergyDeviceRecordRespVO {

    @Schema(description = "名称", example = "芋艿")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "能耗类型名称", example = "水")
    @ExcelProperty("能耗类型名称")
    private String deviceTypeName;

    @Schema(description = "所属区域名称", example = "车间1")
    @ExcelProperty("所属区域名称")
    private String orgName;

    @Schema(description = "能耗总用量")
    @ExcelProperty("能耗总用量")
    private String energyConsumption;

    @Schema(description = "最新数据时间")
    @ExcelProperty("最新数据时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private String latestDataTime;

    @Schema(description = "最早数据时间")
    @ExcelProperty("最早数据时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private String earliestDataTime;

}
