Response.cs 878 B

12345678910111213141516171819202122232425
  1. namespace Application.Features.Api.Feed.GetReplies;
  2. public sealed class Response
  3. {
  4. public long Total { get; init; }
  5. public required IReadOnlyList<Row> List { get; init; }
  6. public sealed class Row
  7. {
  8. public int ID { get; init; }
  9. public int? ParentID { get; init; }
  10. public string? ParentAuthorSID { get; init; }
  11. public string? ParentAuthorName { get; init; }
  12. public required string Content { get; init; }
  13. public string? AuthorSID { get; init; }
  14. public string? AuthorName { get; init; }
  15. public string? AuthorThumb { get; init; }
  16. public bool IsCreator { get; init; }
  17. public int Likes { get; init; }
  18. public bool HasLike { get; init; }
  19. public bool IsOwner { get; init; }
  20. public bool IsDeleted { get; init; }
  21. public DateTime CreatedAt { get; init; }
  22. }
  23. }