Response.cs 595 B

12345678910111213141516171819202122232425
  1. namespace Application.Features.Api.DonationGoal.GetConfig;
  2. public sealed record Response(IReadOnlyList<GoalConfigItem> List);
  3. public sealed record GoalConfigItem(
  4. int ID,
  5. string Title,
  6. int Style,
  7. int StartAmount,
  8. int TargetAmount,
  9. DateTime? StartAt,
  10. DateTime? EndAt,
  11. bool IsShowPercent,
  12. string BarColor,
  13. string BarBackgroundColor,
  14. int BarHeightPx,
  15. int TitleFontSizePx,
  16. string TitleFontColor,
  17. int AmountFontSizePx,
  18. string AmountFontColor,
  19. string? TitleFontFamily,
  20. string? AmountFontFamily,
  21. int Period,
  22. bool IsActive
  23. );