Documentation & code cleanup
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Models
|
||||
namespace Models
|
||||
{
|
||||
public class Comment : GenericMessage
|
||||
{
|
||||
public Comment()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
public Comment(int id, User author, string description, string title, DateTime publishDate) : base(id, author, description, title, publishDate)
|
||||
{
|
||||
Responses = new List<Comment>();
|
||||
}
|
||||
|
||||
|
||||
public List<Comment> Responses { get; set; }
|
||||
public override string ToString()
|
||||
{
|
||||
|
Reference in New Issue
Block a user