Response.cs 511 B

12345678910111213141516171819
  1. using Domain.Entities.Wallets.ValueObject;
  2. namespace Application.Features.Admin.Member.Wallet.List.Get;
  3. public sealed class Response
  4. {
  5. public int WalletID { get; init; }
  6. public long Balance { get; init; }
  7. public int MemberID { get; init; }
  8. public required string MemberEmail { get; init; }
  9. public string? GradeName { get; init; }
  10. public List<BalanceItem> Balances { get; init; } = [];
  11. public sealed record BalanceItem(
  12. WalletBalanceType Type,
  13. long Amount
  14. );
  15. }