Files

23 lines
527 B
C#

using MongoDB.Bson;
namespace adas_core.Domain.Models.MongoModels;
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();
}
public class Options
{
public string? Url { get; set; }
public int? Port { get; set; }
public string? Password { get; set; }
public bool Emulate { get; set; } = false;
}