API V1 Aeldria
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user