API V1 Aeldria

This commit is contained in:
2026-06-23 13:32:17 +02:00
commit b56c82d229
164 changed files with 5666 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
namespace Aeldria.Api.Models;
public class Account
{
public long AccountId { get; set; }
public string Username { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string PasswordHash { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
public DateTime? LastLogin { get; set; }
public bool IsBanned { get; set; }
public bool IsVerified { get; set; }
}
+26
View File
@@ -0,0 +1,26 @@
namespace Aeldria.Api.Models;
public class Character
{
public long CharacterId { get; set; }
public long AccountId { get; set; }
public int FactionId { get; set; }
public int RaceId { get; set; }
public string Name { get; set; } = string.Empty;
public int Level { get; set; }
public long Experience { get; set; }
public double PosX { get; set; }
public double PosY { get; set; }
public double PosZ { get; set; }
public DateTime CreatedAt { get; set; }
}