aboutsummaryrefslogtreecommitdiff
path: root/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'Classes')
-rw-r--r--Classes/Article.cs2
-rw-r--r--Classes/Config.cs2
2 files changed, 4 insertions, 0 deletions
diff --git a/Classes/Article.cs b/Classes/Article.cs
index d132eb3..80a3e69 100644
--- a/Classes/Article.cs
+++ b/Classes/Article.cs
@@ -5,6 +5,8 @@ namespace Classes {
/// Class to represent Articles in C#
/// </summary>
public class Article {
+ public int article_id { get; set; }
+
public string Title { get; set; }
public string Description { get; set; }
public string ImageLink { get; set; }
diff --git a/Classes/Config.cs b/Classes/Config.cs
index 6b1f7f5..ab131e8 100644
--- a/Classes/Config.cs
+++ b/Classes/Config.cs
@@ -6,6 +6,8 @@ namespace Classes {
/// To be used in conjunction with article for each source
/// </summary>
public class Config {
+ public int config_id { get; set; }
+
public string Source { get; set; }
public int Title { get; set; }
public int Description { get; set; }