diff options
Diffstat (limited to 'Classes/Article.cs')
-rw-r--r-- | Classes/Article.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Classes/Article.cs b/Classes/Article.cs new file mode 100644 index 0000000..1b91696 --- /dev/null +++ b/Classes/Article.cs @@ -0,0 +1,15 @@ +using System; + +namespace Aggregator.Classes { + /// <summary> + /// Class to represent Articles in C# + /// </summary> + 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 Source { get; set; } + public DateTime PublishDate { get; set; } + } +} |