aboutsummaryrefslogtreecommitdiffstats
path: root/src/Models/NewsArticle.cs
blob: 957dee4c27add8a863e6ca2d37b345f5a9ba629f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace I2R.LightNews.Models;

public class NewsArticle
{
    public string Title { get; set; }
    public string Subtitle { get; set; }
    public string Href { get; set; }
    public string Content { get; set; }
    public List<Author> Authors { get; set; }
    public DateTimeOffset CachedAt { get; set; }
    public DateTime PublishedAt { get; set; }
    public DateTime UpdatedAt { get; set; }

    public class Author
    {
        public string Name { get; set; }
        public string Contact { get; set; }
        public string Title { get; set; }
    }
}