Refactor .gitignore and enhance transaction handling with encryption support

Signed-off-by: Dmitrii <computer@yawaflua.tech>

Took 48 minutes
This commit is contained in:
Dmitrii
2026-06-29 03:00:53 +03:00
parent eee0d44c92
commit eae9f04b96
8 changed files with 152 additions and 22 deletions
@@ -2,14 +2,32 @@ using SPWorldsApi.Types.Interfaces;
namespace SpMega.Backend.Persistent.Models.DTO;
public class UserAccountDTO : IUserAccount
public class UserAccountDTO
{
public string id { get; set; }
public string username { get; set; }
public string minecraftUUID { get; set; }
public string status { get; set; }
public List<string> roles { get; set; }
public ICity city { get; set; }
public List<IUserCard> cards { get; set; }
public CityDTO city { get; set; }
public List<UserCardDTO> cards { get; set; }
public DateTime createdAt { get; set; }
}
public class UserCardDTO
{
public string id { get; set; }
public string name { get; set; }
public string number { get; set; }
public int color { get; set; }
}
public class CityDTO
{
public string id { get; set; }
public string name { get; set; }
public string description { get; set; }
public int x { get; set; }
public int z { get; set; }
public bool isMayor { get; set; }
}