using Domain.Entities.Payments.Toss.ValueObject; namespace Application.Features.Admin.Payment.Toss.Log.Search; public sealed class Response { public int Total { get; init; } public TypeCounts Counts { get; init; } = new(); public sealed class TypeCounts { public int Failed { get; init; } public int Error { get; init; } public int Webhook { get; init; } public int Reconcile { get; init; } } public required IReadOnlyList List { get; init; } public sealed class Row { public int Num { get; init; } public int ID { get; init; } public int? MemberID { get; init; } public string? MemberEmail { get; init; } public string? MemberName { get; init; } public TossLogType LogType { get; init; } public required string Code { get; init; } public required string Message { get; init; } public string? PaymentKey { get; init; } public string? OrderID { get; init; } public required DateTime CreatedAt { get; init; } } }