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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 能耗报表新增/修改 Request VO")
@Data
public class EnergyDeviceReportSaveReqVO {

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

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

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

    @Schema(description = "表ID", example = "1")
    private Long deviceId;

    @Schema(description = "表名称", example = "水")
    private String deviceName;

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

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

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

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

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

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

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

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

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


}