Big cleanup

This commit is contained in:
dingo
2025-12-26 12:20:48 -05:00
parent 724dd5b7c5
commit 84d49520a0
23 changed files with 5 additions and 1072 deletions
+3 -2
View File
@@ -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;