Basic comment building
This commit is contained in:
10
Model/Comment.cs
Normal file
10
Model/Comment.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
public class Comments
|
||||
{
|
||||
public Comments()
|
||||
{
|
||||
Replies = new List<Comments>();
|
||||
}
|
||||
public String Author { get; set; }
|
||||
public String Body { get; set; }
|
||||
public List<Comments> Replies { get; set; }
|
||||
}
|
||||
12
Model/Submission.cs
Normal file
12
Model/Submission.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
public class Submission
|
||||
{
|
||||
public Submission()
|
||||
{
|
||||
Replies = new List<Comments>();
|
||||
}
|
||||
public String Author { get; set; }
|
||||
public String Title { get; set; }
|
||||
public String Body { get; set; }
|
||||
public String Link { get; set; }
|
||||
public List<Comments> Replies { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user