namespace ZB.MOM.WW.OtOpcUa.Configuration.Entities; /// Per-device row for multi-device drivers (Modbus, AB CIP). Optional for single-device drivers. public sealed class Device { public Guid DeviceRowId { get; set; } public long GenerationId { get; set; } public required string DeviceId { get; set; } /// Logical FK to . public required string DriverInstanceId { get; set; } public required string Name { get; set; } public bool Enabled { get; set; } = true; /// Schemaless per-driver-type device config (host, port, unit ID, slot, etc.). public required string DeviceConfig { get; set; } public ConfigGeneration? Generation { get; set; } }