namespace ZB.MOM.WW.OtOpcUa.Configuration.Entities;

/// <summary>Driver-scoped polling group. Tags reference it via <see cref="Tag.PollGroupId"/>.</summary>
public sealed class PollGroup
{
    public Guid PollGroupRowId { get; set; }

    public long GenerationId { get; set; }

    public required string PollGroupId { get; set; }

    public required string DriverInstanceId { get; set; }

    public required string Name { get; set; }

    public int IntervalMs { get; set; }

    public ConfigGeneration? Generation { get; set; }
}
