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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 数采记录新增/修改 Request VO")
@Data
public class MqttRecordSaveReqVO {

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

    @Schema(description = "机台ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3561")
    private Long machineId;

    @Schema(description = "机台", example = "赵六")
    private String machineName;

    @Schema(description = "采集时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime deviceDataTime;
    @Schema(description = "采集时间sss")
    private Long deviceDataTimeLong;

    @Schema(description = "数据")
    private String deviceData;

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31306")
    private Long deviceId;

    @Schema(description = "设备编码")
    private String deviceCode;

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

    @Schema(description = "用户id", example = "8427")
    private Long workerId;

    @Schema(description = "用户", example = "张三")
    private String workerName;

    @Schema(description = "网关")
    private String gatewayCode;

}