package org.dromara.app.domain.mqtt;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
public class DeviceCommand implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String commandId;
    private String deviceNo;
    private String deviceMac;
    private String commandType;
    private String topic;
    private Map<String, Object> payload = new HashMap<>();
    private int retryCount;
    private long createdAt;
    private long lastSentAt;
    private long nextRetryAt;
}
