namespace ZB.MOM.WW.OtOpcUa.Server;
///
/// Bootstrap configuration read from appsettings.json (decision #18) — the minimum a
/// node needs to reach the central config DB and identify itself. Everything else comes from
/// the DB after bootstrap succeeds.
///
public sealed class NodeOptions
{
public const string SectionName = "Node";
/// Stable node ID matching ClusterNode.NodeId in the central config DB.
public required string NodeId { get; init; }
/// Cluster this node belongs to.
public required string ClusterId { get; init; }
/// SQL Server connection string for the central config DB.
public required string ConfigDbConnectionString { get; init; }
/// Path to the LiteDB local cache file.
public string LocalCachePath { get; init; } = "config_cache.db";
}