Response.cs 855 B

1234567891011121314151617181920212223242526272829303132
  1. namespace Application.Features.Admin.Store.Game.Get;
  2. public sealed record Response(
  3. int ID,
  4. string? Code,
  5. string KorName,
  6. string? EngName,
  7. string Publisher,
  8. string? Thumbnail,
  9. string? BigImage,
  10. string? Description,
  11. decimal CommissionRate,
  12. decimal ApiCommissionRate,
  13. string? Link,
  14. bool IsActive,
  15. int Order,
  16. DateTime CreatedAt,
  17. DateTime? UpdatedAt,
  18. string? TrailerUrl,
  19. string? MinSpec,
  20. string? RecommendedSpec,
  21. DateOnly? ReleaseDate,
  22. IReadOnlyList<int> GenreIDs,
  23. IReadOnlyList<int> CategoryIDs,
  24. IReadOnlyList<Response.ImageRow> Images,
  25. IReadOnlyList<Response.LanguageSupportRow> Languages
  26. )
  27. {
  28. public sealed record ImageRow(int ID, string Url);
  29. public sealed record LanguageSupportRow(int GameLanguageID, bool Interface, bool FullAudio, bool Subtitles);
  30. }