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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 能源设备历史记录新增/修改 Request VO")
@Data
public class EnergyRecordSaveReqVO {

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

    @Schema(description = "能源设备id", example = "25594")
    private Long energyDeviceId;

    @Schema(description = "能耗历史数据")
    private String recordData;

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启用不能为空")
    private Boolean isEnable;

}