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

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

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

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

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

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

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

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

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

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

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

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

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

}