mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 08:56:33 +00:00
add queue offsets to user
This commit is contained in:
@@ -8,5 +8,19 @@ public class User
|
||||
public string? Hardware { get; set; }
|
||||
public RoleEnum Role { get; set; }
|
||||
|
||||
public UserConfig? UserConfig { get; set; } = null!;
|
||||
|
||||
public static string GetCacheKey(string email) => $"{nameof(User)}.{email}";
|
||||
}
|
||||
|
||||
public class UserConfig
|
||||
{
|
||||
public UserQueueOffsets? QueueConfig { get; set; } = new();
|
||||
}
|
||||
|
||||
public class UserQueueOffsets
|
||||
{
|
||||
public int AnnotationsOffset { get; set; }
|
||||
public int AnnotationsConfirmOffset { get; set; }
|
||||
public int AnnotationsCommandsOffset { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user