EquipmentStatus.java
1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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;
}