package com.dji.sample.ai.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author guan
 */
@Data
public class TopicAiInfoDTO implements Serializable {

    @JsonProperty("device_sn")
    private String deviceSn;

    @JsonProperty("payload_sn")
    private String payloadSn;

    @JsonProperty("warn_type")
    private String warnType;

    @JsonProperty("warn_event")
    private String warnEvent;

    /** epoch milli */
    @JsonProperty("warn_time")
    private Long warnTime;

    @JsonProperty("image_url")
    private String imageUrl;

    @JsonProperty("warn_location")
    private String warnLocation;

    @JsonProperty("algorithm_type")
    private String algorithmType;

    /** Raw object payload (may be JSON object) */
    @JsonProperty("obj")
    private Object obj;
}
