Skip to content

Commit

Permalink
(#382) comments: update wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Aug 20, 2024
1 parent d5f99e2 commit cdd662d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,20 @@ namespace MiniSpace.Services.Comments.Core.Wrappers
{
public class BrowseCommentsRequest
{
public int PageNumber { get; }
public int PageSize { get; }
public Guid ContextId { get; }
public CommentContext Context { get; }
public Guid ParentId { get; }
public IEnumerable<string> SortBy { get; }
public string SortDirection { get; }

public int PageNumber { get; set; }
public int PageSize { get; set; }
public Guid ContextId { get; set; }
public CommentContext CommentContext { get; set; }
public Guid ParentId { get; set; }
public IEnumerable<string> SortBy { get; set; }
public string SortDirection { get; set; }
public BrowseCommentsRequest(int pageNumber, int pageSize, Guid contextId,
CommentContext context, Guid parentId, IEnumerable<string> sortBy, string sortDirection)
{
PageNumber = pageNumber;
PageSize = pageSize;
ContextId = contextId;
Context = context;
CommentContext = context;
ParentId = parentId;
SortBy = sortBy;
SortDirection = sortDirection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Linq;

namespace MiniSpace.Services.Comments.Application.Wrappers
namespace MiniSpace.Services.Comments.Core.Wrappers
{
[ExcludeFromCodeCoverage]
public class PagedResponse<T>
Expand Down

0 comments on commit cdd662d

Please sign in to comment.