Response.cs 499 B

1234567891011121314151617181920
  1. namespace Application.Features.Api.News.GetArticles;
  2. public sealed record Response(int Total, List<Response.Row> List)
  3. {
  4. public sealed record Row(
  5. int ID,
  6. int RssFeedSourceID,
  7. string FeedSourceName,
  8. string Title,
  9. string? Link,
  10. string? Author,
  11. string? Description,
  12. string? ImageUrl,
  13. string? SourceName,
  14. string? Categories,
  15. int CommentCount,
  16. DateTime? PublishedAt,
  17. DateTime CreatedAt
  18. );
  19. }