namespace DorkNet.Server.Data.Entities; /// /// Per-player wallet for a single currency. The 2020 client knows /// about a small set of CurrencyTypes (1=Coins, 2=Tokens, …); /// each gets its own row keyed by (PlayerId, CurrencyType). /// /// Updates go through /// or admin grants; reads back through the /// storefronts/v4/balance/{currencyType} endpoint. /// public class CurrencyBalanceEntity { public long Id { get; set; } public long PlayerId { get; set; } public int CurrencyType { get; set; } public long Balance { get; set; } public DateTime UpdatedAt { get; set; } = DateTime.UtcNow; }