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

public sealed class Response
{
    public int Total { get; init; }
    public required IReadOnlyList<Row> List { get; init; }

    public sealed class Row
    {
        public int ID { get; init; }
        public required string TxType { get; init; }
        public required string BalanceType { get; init; }
        public long Amount { get; init; }
        public long BalanceAfter { get; init; }
        public required string Reason { get; init; }
        public string? RefID { get; init; }
        public string? Memo { get; init; }
        public DateTime CreatedAt { get; init; }
    }
}
