Comment.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using Datory.Annotations;
  2. namespace GxPress.Entity
  3. {
  4. /// <summary>
  5. /// 文章评论
  6. /// </summary>
  7. [DataTable("tede_comment")]
  8. public class Comment : Datory.Entity
  9. {
  10. /// <summary>
  11. /// 数据ID
  12. /// </summary>
  13. [DataColumn] public int ArticleId { get; set; }
  14. /// <summary>
  15. /// 用户ID
  16. /// </summary>
  17. [DataColumn] public int UserId { get; set; }
  18. /// <summary>
  19. /// 内容
  20. /// </summary>
  21. [DataColumn] public string Content { get; set; }
  22. /// <summary>
  23. /// 内容
  24. /// </summary>
  25. [DataColumn] public string HtmlContent { get; set; }
  26. /// <summary>
  27. /// 内容
  28. /// </summary>
  29. [DataColumn] public string JsonContent { get; set; }
  30. /// <summary>
  31. /// 点赞次数
  32. /// </summary>
  33. [DataColumn] public int Laud { get; set; }
  34. /// <summary>
  35. /// 父级ID
  36. /// </summary>
  37. [DataColumn] public int Pid { get; set; }
  38. /// <summary>
  39. /// 是否讨论
  40. /// </summary>
  41. [DataColumn] public bool IsUnderstand { get; set; }
  42. /// <summary>
  43. /// 状态 文章100,话题2,收藏3,笔记4,通知5,站内信6,小组7,收藏文件夹12,笔记文件夹13,工作流审批14,文件300,图片301,会议纪要8,会议详情500,财务报表601,人事报表602,出版报表603,书籍20,课程30,音频40,期刊50,视频60,名栏90,公众号110,刊期120
  44. /// </summary>
  45. /// <value></value>
  46. [DataColumn]
  47. public int TypeValue { get; set; }
  48. /// <summary>
  49. /// 标题
  50. /// </summary>
  51. /// <value></value>
  52. [DataColumn]
  53. public string Title { get; set; }
  54. /// <summary>
  55. /// 评分
  56. /// </summary>
  57. /// <value></value>
  58. [DataColumn]
  59. public decimal Score { get; set; }
  60. }
  61. }