Response.cs 725 B

1234567891011121314151617181920
  1. namespace Application.Features.Api.MyPage.DonationLogs;
  2. public sealed record Response(
  3. List<DonationLogItem> List,
  4. int Total,
  5. int Page,
  6. int PerPage
  7. );
  8. public sealed record DonationLogItem(
  9. int ID,
  10. DateTime CreatedAt,
  11. string SendName, // 보낸 이 (익명 후원이면 "익명" 등 후원자가 입력한 표시명)
  12. string? ReceiverChannelName,
  13. string? Message, // 전달 내용
  14. int Amount, // 사용 포인트(P) — 차감 금액
  15. long? BalanceAfter, // 잔여 포인트(P) — PgCharged 트랜잭션 직후 잔액
  16. bool IsCrew, // 합방 후원 여부
  17. bool IsTest // 테스트 후원 여부
  18. );