fix isAdmin
This commit is contained in:
@@ -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>();
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user