Response.cs 665 B

1234567891011121314151617181920
  1. namespace Application.Features.Api.Member.Wallet.GetMyTransactions;
  2. public sealed class Response
  3. {
  4. public int Total { get; init; }
  5. public required IReadOnlyList<Row> List { get; init; }
  6. public sealed class Row
  7. {
  8. public int ID { get; init; }
  9. public required string TxType { get; init; }
  10. public required string BalanceType { get; init; }
  11. public long Amount { get; init; }
  12. public long BalanceAfter { get; init; }
  13. public required string Reason { get; init; }
  14. public string? RefID { get; init; }
  15. public string? Memo { get; init; }
  16. public DateTime CreatedAt { get; init; }
  17. }
  18. }