package cn.iocoder.yudao.module.iot.controller.admin.deviceoperationrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 运行记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceOperationRecordRespVO {

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

    @Schema(description = "设备ID", example = "18965")
    @ExcelProperty("设备ID")
    private Long deviceId;

    @Schema(description = "模型ID", example = "26876")
    @ExcelProperty("模型ID")
    private Long modelId;

    @Schema(description = "规则值")
    @ExcelProperty("规则值")
    private String rule;

    @Schema(description = "地址值")
    @ExcelProperty("地址值")
    private String addressValue;

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

    @Schema(description = "类型 1-RUNNING 2-ALRAM", example = "2")
    @ExcelProperty("类型 1-RUNNING 2-ALRAM")
    private Integer recordType;

}