From 06194fa9ab6412508f63140d9138e1225b2a88ef Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 2 Feb 2019 13:33:42 +0000 Subject: Made class to represent articles --- Aggregator/Classes/Article.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Aggregator/Classes/Article.cs 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; } + } +} -- cgit v1.2.3-13-gbd6f