namespace FinlyticCore.Models;
///
/// Represents the network and security settings used to connect to the central MQTT broker.
///
public class MqttConfiguration
{
///
/// Gets or sets the host address or IP of the MQTT broker.
///
public string Host { get; set; } = string.Empty;
///
/// Gets or sets the port number for the connection. Defaults to 1883.
///
public int Port { get; set; } = 1883;
///
/// Gets or sets the unique client identifier used when registering with the broker.
///
public string ClientId { get; set; } = string.Empty;
///
/// Gets or sets the username for authentication (optional).
///
public string? Username { get; set; }
///
/// Gets or sets the password for authentication (optional).
///
public string? Password { get; set; }
}