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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
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 MqttDataRecordRespVO {

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

    @Schema(description = "设备", example = "赵六")
    @ExcelProperty("设备")
    private String deviceName;

    @Schema(description = "属性")
    @ExcelProperty("属性")
    private String attribute;

    @Schema(description = "属性值")
    @ExcelProperty("属性值")
    private String attrValue;

    @Schema(description = "设备时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备时间")
    private LocalDateTime deviceTime;

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

}