FeedCardRow.cs 1021 B

1234567891011121314151617181920212223242526272829
  1. namespace Application.Features.Api.Feed.Shared;
  2. public sealed class FeedCardRow
  3. {
  4. public int PostID { get; init; }
  5. public string? AuthorSID { get; init; }
  6. public string? AuthorName { get; init; }
  7. public string? AuthorThumb { get; init; }
  8. public string? AuthorSummary { get; init; }
  9. public bool IsCreator { get; init; }
  10. public string? ChannelSID { get; init; }
  11. public required string Subject { get; init; }
  12. public required string ContentExcerpt { get; init; }
  13. public string? Thumbnail { get; init; }
  14. public byte Images { get; init; }
  15. public byte Medias { get; init; }
  16. public int Likes { get; init; }
  17. public int Comments { get; init; }
  18. public int Bookmarks { get; init; }
  19. public int Views { get; init; }
  20. public required IReadOnlyList<TagRef> Tags { get; init; }
  21. public DateTime CreatedAt { get; init; }
  22. public sealed class TagRef
  23. {
  24. public required string Name { get; init; }
  25. public required string Slug { get; init; }
  26. }
  27. }