roadie/Roadie.Api.Library/Models/Comment.cs

16 lines
522 B
C#
Raw Normal View History

2019-07-03 16:21:29 +00:00
using Roadie.Library.Models.Users;
2019-06-28 21:24:32 +00:00
using System.ComponentModel.DataAnnotations;
namespace Roadie.Library.Models
{
public class Comment : EntityInfoModelBase
{
2019-07-03 16:21:29 +00:00
[MaxLength(2500)] [Required] public string Cmt { get; set; }
public int? DislikedCount { get; set; }
2019-06-28 21:24:32 +00:00
public bool IsDisliked { get; set; }
public bool IsLiked { get; set; }
public int? LikedCount { get; set; }
2019-07-03 16:21:29 +00:00
public Comment ReplyToComment { get; set; }
public UserList User { get; set; }
2019-06-28 21:24:32 +00:00
}
2019-07-03 16:21:29 +00:00
}