Initial commit of secondary development sample code
This commit is contained in:
19
快速接收设备告警/http-server-demo/http-server/java/AlertVideo.java
Normal file
19
快速接收设备告警/http-server-demo/http-server/java/AlertVideo.java
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class AlertVideo {
|
||||
private String id;
|
||||
@JsonProperty("alert_time")
|
||||
private Double alertTime;
|
||||
private Object device;
|
||||
private Object source;
|
||||
private Object alg;
|
||||
private String video;
|
||||
@JsonProperty("hazard_leve")
|
||||
private String hazardLeve;
|
||||
}
|
||||
Reference in New Issue
Block a user