package cn.iocoder.yudao.module.iot.controller.admin.recipedevicerecord.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 RecipeDeviceRecordRespVO {

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

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

    @Schema(description = "名称", example = "张三")
    @ExcelProperty("名称")
    private String attributeName;

    @Schema(description = "类型", example = "2")
    @ExcelProperty("类型")
    private String attributeType;

    @Schema(description = "数据类型", example = "2")
    @ExcelProperty("数据类型")
    private String dataType;

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

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String dataUnit;

    @Schema(description = "倍率")
    @ExcelProperty("倍率")
    private Double ratio;

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

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "采集值")
    @ExcelProperty("采集值")
    private String value;

    @Schema(description = "配方id", example = "32535")
    private Long recipeId;

}