add enable disable remove user and isenabled in user column

This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-09-22 19:37:17 +03:00
parent a4295c6c52
commit 3167df8bd7
4 changed files with 36 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ public class User
public DateTime CreatedAt { get; set; }
public DateTime? LastLogin { get; set; }
public UserConfig? UserConfig { get; set; } = null!;
public bool IsEnabled { get; set; }
public static string GetCacheKey(string email) =>
string.IsNullOrEmpty(email) ? "" : $"{nameof(User)}.{email}";