diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-02 13:33:42 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-02 13:33:42 +0000 |
commit | 06194fa9ab6412508f63140d9138e1225b2a88ef (patch) | |
tree | 9ea3ca9417a5cc27c099e4b605fa5ba467678d6d | |
parent | 66fb666b859c9705208d90b36d58a2012e591c80 (diff) | |
download | newsaggregator-06194fa9ab6412508f63140d9138e1225b2a88ef.tar.gz newsaggregator-06194fa9ab6412508f63140d9138e1225b2a88ef.tar.bz2 newsaggregator-06194fa9ab6412508f63140d9138e1225b2a88ef.zip |
Made class to represent articles
-rw-r--r-- | Aggregator/Classes/Article.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Aggregator/Classes/Article.cs b/Aggregator/Classes/Article.cs new file mode 100644 index 0000000..ae65ff1 --- /dev/null +++ b/Aggregator/Classes/Article.cs @@ -0,0 +1,14 @@ +using System; + +namespace Classes { + public class Article { + public string Title { get; set; } + public string Description { get; set; } + public string ImageLink { get; set; } + public string ArticleLink { get; set; } + + public string Author { get; set; } + public string Source { get; set; } + public DateTime PublishDate { get; set; } + } +} |