EquipmentStatus.java 1.02 KB
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 equipmentId;

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

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

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

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

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

    @Schema(description = "异常开始时间")
    private String exceptionStartTime;

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

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