namespace Application.Features.Api.Member.Wallet.GetMy;

public sealed class Response
{
    public int ID { get; init; }
    public Guid WalletKey { get; init; }
    public int MemberID { get; init; }
    public long Balance { get; init; }
    public required IReadOnlyList<BalanceRow> Balances { get; init; }
    public DateTime CreatedAt { get; init; }
    public DateTime? UpdatedAt { get; init; }

    public sealed class BalanceRow
    {
        public required string Type { get; init; }
        public long Amount { get; init; }
    }
}