namespace Application.Features.Admin.Member.Wallet.List.Search;

public sealed class Response
{
    public int Total { get; init; }

    public required IReadOnlyList<Row> List { get; init; }

    public sealed class Row
    {
        public int Num { get; init; }
        public int ID { get; init; }
        public int MemberID { get; init; }
        public required string MemberEmail { get; init; }
        public string? MemberName { get; init; }
        public long Balance { get; init; }
        public long DonationBalance { get; init; }
        public DateTime? UpdatedAt { get; init; }
        public DateTime CreatedAt { get; init; }
    }
}