TopicComment.cs 955 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using Datory;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity.Topic
  4. {
  5. /// <summary>
  6. /// 话题评论
  7. /// </summary>
  8. [DataTable("tede_topic_comment")]
  9. public class TopicComment:Datory.Entity
  10. {
  11. /// <summary>
  12. /// 话题ID
  13. /// </summary>
  14. [DataColumn] public int TopicId { get; set; }
  15. /// <summary>
  16. /// 用户ID
  17. /// </summary>
  18. [DataColumn] public int UserId { get; set; }
  19. /// <summary>
  20. /// 内容
  21. /// </summary>
  22. [DataColumn] public string Content { get; set; }
  23. /// <summary>
  24. /// 点赞次数
  25. /// </summary>
  26. [DataColumn] public int Laud { get; set; }
  27. /// <summary>
  28. /// 父级ID
  29. /// </summary>
  30. [DataColumn] public int Pid { get; set; }
  31. /// <summary>
  32. /// 是否讨论
  33. /// </summary>
  34. [DataColumn] public bool IsUnderstand { get; set; }
  35. }
  36. }