| 123456789101112131415161718192021222324252627282930313233343536 |
- using Application.Abstractions.Messaging;
- using Microsoft.AspNetCore.Http;
- using SharedKernel.Results;
- namespace Application.Features.Admin.Store.Game.Update;
- public sealed record Command(
- int ID,
- string? Code,
- string KorName,
- string? EngName,
- string Publisher,
- IFormFile? ThumbnailFile,
- bool RemoveThumbnail,
- IFormFile? BigImageFile,
- bool RemoveBigImage,
- string? Description,
- decimal CommissionRate,
- decimal ApiCommissionRate,
- string? Link,
- int Order,
- bool IsActive,
- string? TrailerUrl,
- string? MinSpec,
- string? RecommendedSpec,
- IReadOnlyList<int>? GenreIDs,
- IReadOnlyList<int>? CategoryIDs,
- IReadOnlyList<IFormFile>? DetailImages,
- IReadOnlyList<int>? RemoveImageIDs,
- DateOnly? ReleaseDate,
- IReadOnlyList<int>? ImageOrder,
- IReadOnlyList<Command.LanguageRow>? Languages
- ) : ICommand<Result>
- {
- public sealed record LanguageRow(int GameLanguageID, bool Interface, bool FullAudio, bool Subtitles);
- }
|