refactor: shoved in what i wanted to shove

This commit is contained in:
2025-09-30 18:41:38 +03:00
parent 8c0809d620
commit fc042d126a
64 changed files with 960 additions and 219 deletions

View File

@@ -0,0 +1,23 @@
using Microsoft.AspNetCore.Identity;
namespace LctMonolith.Models.Database;
public class AppUser : IdentityUser<Guid>
{
public string? FirstName { get; set; }
public string? LastName { get; set; }
public DateOnly? BirthDate { get; set; }
public int Experience { get; set; }
public int Mana { get; set; }
public Guid? RankId { get; set; }
public Rank? Rank { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
public ICollection<UserCompetency> Competencies { get; set; } = new List<UserCompetency>();
public ICollection<UserMission> Missions { get; set; } = new List<UserMission>();
public ICollection<UserInventoryItem> Inventory { get; set; } = new List<UserInventoryItem>();
public ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();
public ICollection<RefreshToken> RefreshTokens { get; set; } = new List<RefreshToken>();
public ICollection<EventLog> Events { get; set; } = new List<EventLog>();
public ICollection<Notification> Notifications { get; set; } = new List<Notification>();
}