Response.cs 543 B

123456789101112131415161718
  1. namespace Application.Features.Api.Member.Wallet.GetMy;
  2. public sealed class Response
  3. {
  4. public int ID { get; init; }
  5. public Guid WalletKey { get; init; }
  6. public int MemberID { get; init; }
  7. public long Balance { get; init; }
  8. public required IReadOnlyList<BalanceRow> Balances { get; init; }
  9. public DateTime CreatedAt { get; init; }
  10. public DateTime? UpdatedAt { get; init; }
  11. public sealed class BalanceRow
  12. {
  13. public required string Type { get; init; }
  14. public long Amount { get; init; }
  15. }
  16. }