package com.usky.sas.service.vo;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * Agbox/Metabus 配置查询响应（含 MQTT 连接、监听状态）
 */
@Data
public class SasConfigVo {

    private Integer id;
    private String keyds;
    private String host;
    private String port;
    private String username;
    private String password;
    private Boolean isTsl;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    /**
     * MQTT 是否已连接 Broker
     */
    private Boolean isConnected;

    /**
     * MQTT 是否正在监听（未暂停）
     */
    private Boolean isListening;
}
