using System;
namespace RMuseum.Models.Ganjoor.ViewModels
{
///
/// GanjoorComment Summary View Model
///
public class GanjoorCommentSummaryViewModel
{
///
/// Id
///
public int Id { get; set; }
///
/// author name (MySql imported field)
///
public string AuthorName { get; set; }
///
/// author url (MySql imported field)
///
public string AuthorUrl { get; set; }
///
/// comment date
///
public DateTime CommentDate { get; set; }
///
/// comment
///
public string HtmlComment { get; set; }
///
/// status
///
public string PublishStatus { get; set; }
///
/// in reply to
///
public int? InReplyToId { get; set; }
///
/// User Id
///
public Guid? UserId { get; set; }
///
/// replies
///
public GanjoorCommentSummaryViewModel[] Replies { get; set; }
///
/// this can be used by clients
///
public bool MyComment { get; set; }
///
/// couplet index
///
public int CoupletIndex { get; set; }
///
/// couplet summary
///
public string CoupletSummary { get; set; }
///
/// for client
///
public bool IsBookmarked { get; set; }
///
/// Total likes
///
public int LikeCount { get; set; }
///
/// Total dislikes
///
public int DislikeCount { get; set; }
///
/// +1 = Like
/// -1 = Dislike
///
public short CurrentUserRatingValue { get; set; }
}
}