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 EnergyDeviceCheckRecordRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13646")
    @ExcelProperty("ID")
    private Long id;
    @Schema(description = "设备类型", example = "1")
    @ExcelProperty("设备类型")
    private String deviceType;
    @Schema(description = "能源设备Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17334")
    private Long deviceId;
    @Schema(description = "能源设备", requiredMode = Schema.RequiredMode.REQUIRED, example = "17334")
    @ExcelProperty("能源设备")
    private String deviceName;

    @Schema(description = "上次抄表时间")
    @ExcelProperty("上次抄表时间")
    private LocalDateTime lastCheckTime;

    @Schema(description = "上次抄表值")
    @ExcelProperty("上次抄表值")
    private BigDecimal lastCheckValue;

    @Schema(description = "抄表值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("抄表值")
    private BigDecimal checkValue;

    @Schema(description = "抄表时间")
    @ExcelProperty("抄表时间")
    private LocalDateTime checkTime;

    @Schema(description = "差值")
    @ExcelProperty("差值")
    private BigDecimal diffValue;

    @Schema(description = "单价", example = "1868")
    @ExcelProperty("单价")
    private BigDecimal unitPrice;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}