package cn.iocoder.yudao.module.mes.controller.admin.energydevice.vo;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 能耗报表 Response VO")
@Data
@ExcelIgnoreUnannotated
public class EnergyDeviceReportRespVO {

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

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

    @Schema(description = "编码")
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "表ID", example = "1")
    @ExcelProperty("能耗类型ID")
    private Long deviceId;

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

    @Schema(description = "能耗类型ID", example = "1")
    @ExcelProperty("能耗类型ID")
    private Long deviceTypeId;

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

    @Schema(description = "所属区域ID", example = "1")
    @ExcelProperty("所属区域ID")
    private Long orgId;

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

    @Schema(description = "消耗量", example = "1000")
    @ExcelProperty("消耗量")
    private String value;

    @Schema(description = "单位", example = "1000")
    @ExcelProperty("单位")
    private String unitName;

    @Schema(description = "计算规则", example = "车间1")
    @ExcelProperty("计算规则")
    private String rules;

    @Schema(description = "开始时间")
    @ExcelProperty("开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @ExcelProperty("结束时间")
    private LocalDateTime endTime;
}