Response.cs 617 B

12345678910111213141516171819202122232425
  1. using Domain.Entities.Store.ValueObject;
  2. namespace Application.Features.Admin.Store.Coupon.Search;
  3. public sealed record Response(int Total, List<Response.Row> List)
  4. {
  5. public sealed record Row(
  6. int Num,
  7. int ID,
  8. int ProductID,
  9. string ProductName,
  10. int GameID,
  11. string GameName,
  12. string Name,
  13. CouponUsagePolicy UsagePolicy,
  14. DateTime? ExpiresAt,
  15. int GeneratedCount,
  16. int UsedCount,
  17. int AvailableCount,
  18. int LowStockThreshold,
  19. bool IsLowStock,
  20. DateTime? UpdatedAt,
  21. DateTime CreatedAt
  22. );
  23. }