namespace ZB.MOM.WW.OtOpcUa.Configuration.Entities;
/// Driver-scoped polling group. Tags reference it via .
public sealed class PollGroup
{
/// Gets or sets the database row identifier for the polling group.
public Guid PollGroupRowId { get; set; }
/// Gets or sets the unique identifier for the polling group.
public required string PollGroupId { get; set; }
/// Gets or sets the driver instance that owns this polling group.
public required string DriverInstanceId { get; set; }
/// Gets or sets the display name of the polling group.
public required string Name { get; set; }
/// Gets or sets the poll interval in milliseconds.
public int IntervalMs { get; set; }
/// Optimistic concurrency token for last-write-wins detection in the v2 live-edit model.
public byte[] RowVersion { get; set; } = Array.Empty();
}