Response.cs 824 B

12345678910111213141516171819202122232425262728293031
  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. string? Link,
  13. bool IsActive,
  14. int Order,
  15. DateTime CreatedAt,
  16. DateTime? UpdatedAt,
  17. string? TrailerUrl,
  18. string? MinSpec,
  19. string? RecommendedSpec,
  20. DateOnly? ReleaseDate,
  21. IReadOnlyList<int> GenreIDs,
  22. IReadOnlyList<int> CategoryIDs,
  23. IReadOnlyList<Response.ImageRow> Images,
  24. IReadOnlyList<Response.LanguageSupportRow> Languages
  25. )
  26. {
  27. public sealed record ImageRow(int ID, string Url);
  28. public sealed record LanguageSupportRow(int GameLanguageID, bool Interface, bool FullAudio, bool Subtitles);
  29. }