package com.usky.sas.mqtt.dto;

import lombok.Data;
import java.math.BigDecimal;

/**
 * 状态采集探测事件消息DTO
 */
@Data
public class CollectionEventMessage {

    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 scenePicId;
    private BigDecimal val;
    private String gisId;
    private BigDecimal total;

    // 图片信息
    private PicInfo eventPicInfo;
    private PicInfo scenePicInfo;

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