fix isAdmin

This commit is contained in:
2025-11-08 02:37:31 +07:00
parent 333a0cf734
commit f16e4e0d48

View File

@@ -13,8 +13,8 @@ public class UserEntity
[MaxLength(255)] public string? AgentName { get; set; } [MaxLength(255)] public string? AgentName { get; set; }
public string? AvatarUrl { get; set; } public string? AvatarUrl { get; set; }
public string? TelegramChannel { get; set; } public string? TelegramChannel { get; set; }
public bool IsAdmin { get; set; } = false; public bool IsAdmin { get; set; }
// Navigation properties // Navigation properties
public virtual ICollection<AccountEntity> Accounts { get; set; } = new List<AccountEntity>(); public virtual ICollection<AccountEntity> Accounts { get; set; } = new List<AccountEntity>();
} }