Files
Lab505/Lab505.Shared/LockStateDto.cs
2026-10-12 15:24:08 +07:00

11 lines
471 B
C#

namespace Lab505.Shared;
public record LockStateDto(
LockHolderDto? Workflow,
IReadOnlyList<WaiterDto> WorkflowQueue,
Dictionary<string, LockHolderDto?> Groups,
Dictionary<string, IReadOnlyList<WaiterDto>> GroupQueues);
public record LockHolderDto(string UserId, string Name, long ExpiresMs, long RemainingMs);
public record WaiterDto(string UserId, string Name, bool IsPriority);