EquipmentStatus.java 922 Bytes
package com.huaheng.control.management.dto;

import javax.validation.constraints.NotNull;

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

@Data
@Schema(description = "设备状态对象")
public class EquipmentStatus {

    @Schema(description = "设备ID")
    @NotNull()
    private String id;

    @Schema(description = "设备状态")
    @NotNull()
    private String status;

    @Schema(description = "设备运行模式")
    private String operationMode;

    @Schema(description = "设备当前位置")
    private String currentPosition;

    @Schema(description = "异常信息")
    private String exceptionMessage;

    @Schema(description = "异常处理方案")
    private String exceptionHandlePlan;

    /** 自动写入 */
    @Schema(description = "时间戳")
    private Long timestamp;

    @Schema(description = "格式化时间戳")
    private String timestampFormat;
}