namespace Application.Features.Api.MyPage.ChargeLogs; public sealed record Response( List List, int Total, int Page, int PerPage ); /// /// 카테고리별로 사용되는 필드가 다름. /// - charge: OrderID/PointAmount/VatAmount/PaymentMethod/Status/PaidAt 채워짐, TxType/BalanceType/Reason/RefID/BalanceAfter는 null /// - all/earn/spend/refund: TxType/BalanceType/Reason/RefID/BalanceAfter 채워짐, charge 전용 필드는 null /// public sealed record ChargeLogItem( int ID, string Category, string? OrderID, long Amount, int? PointAmount, int? VatAmount, string? PaymentMethod, string? Status, string? TxType, string? BalanceType, string? Reason, string? RefID, long? BalanceAfter, DateTime CreatedAt, DateTime? PaidAt );