using MongoDB.Bson;

namespace adas_core.Domain.Models.MongoModels;

/// <summary>
/// Represents a light beacon, typically used to emit or signal light as a visual indicator or warning marker.
/// </summary>
public class LightBeacon
{
    public ObjectId Id { get; set; }
    public string Type { get; set; } = string.Empty;
    public string Name { get; set; } = string.Empty;
    public bool InUse { get; private set; }
    public Options Options { get; set; } = new();
}

/// <summary>
/// Represents a container for configuration or option settings used by the application.
/// </summary>
public class Options
{
    public string? Url { get; set; }

    public int? Port { get; set; }

    public string? Password { get; set; }

    public bool Emulate { get; set; } = false;
}