package com.yupi.project.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "mqtt")
public class MqttProperties {

    private String brokerUrl;
    private String username;
    private String password;
    private String clientIdPrefix;
    private int defaultQos;
    private int connectionTimeout;
    private int keepAliveInterval;
    private String commandTopicBase;
    private String statusTopicBase;

} 