stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
29
src/__Libraries/StellaOps.Provcache/Models/TimeWindowInfo.cs
Normal file
29
src/__Libraries/StellaOps.Provcache/Models/TimeWindowInfo.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
|
||||
namespace StellaOps.Provcache;
|
||||
|
||||
/// <summary>
|
||||
/// Information about the time window used in VeriKey.
|
||||
/// </summary>
|
||||
public sealed record TimeWindowInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// The time window bucket identifier.
|
||||
/// </summary>
|
||||
public required string Bucket { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Start of the time window (UTC).
|
||||
/// </summary>
|
||||
public DateTimeOffset? StartsAt { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// End of the time window (UTC).
|
||||
/// </summary>
|
||||
public DateTimeOffset? EndsAt { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Duration of the time window.
|
||||
/// </summary>
|
||||
public TimeSpan? Duration { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user