Big cleanup
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using DataServer.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace DataServer.Data;
|
||||
@@ -20,7 +21,7 @@ public sealed class Account
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
|
||||
public ICollection<Session> Sessions { get; set; } = new List<Session>();
|
||||
public ICollection<Old_Character> Characters { get; set; } = new List<Old_Character>();
|
||||
public ICollection<DungeonCharacter> Characters { get; set; } = new List<DungeonCharacter>();
|
||||
|
||||
// Helper methods
|
||||
public bool IsAdmin => Role == AccountRole.Admin || Role == AccountRole.SuperAdmin;
|
||||
|
||||
Reference in New Issue
Block a user