Query.cs 344 B

123456789101112
  1. using Application.Abstractions.Messaging;
  2. using SharedKernel.Results;
  3. namespace Application.Features.Api.Forum.Comment.List;
  4. public sealed record Query(
  5. int PostID,
  6. int? MemberID = null,
  7. int Page = 1,
  8. ushort PerPage = 20,
  9. int Sort = 0 // 0: 최신순(ID desc), 1: 인기순(Likes desc)
  10. ) : IQuery<Result<Response>>;