package com.usky.sas.mqtt.dto;

import lombok.Data;

/**
 * 状态感知探测事件消息DTO
 */
@Data
public class PerceptionEventMessage {

    private String method;          // "event" 或 "heart"
    private String id;
    private String deviceId;
    private Integer channel;
    private String triggerTime;     // 字符串格式时间
    private Integer eventCode;
    private String note;
    private String picId;
    private String gisId;
    private String relPerson;
    private String dealPerson;
    private Integer eventSystem;

    // 图片信息
    @com.fasterxml.jackson.annotation.JsonProperty("eventPic")
    private PicInfo perceptionPic;

    @Data
    public static class PicInfo {
        private String url;
        private String path;
    }
}