Comment.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 int Laud { get; set; }
  26. /// <summary>
  27. /// 父级ID
  28. /// </summary>
  29. [DataColumn] public int Pid { get; set; }
  30. /// <summary>
  31. /// 是否讨论
  32. /// </summary>
  33. [DataColumn] public bool IsUnderstand { get; set; }
  34. /// <summary>
  35. /// 状态 文章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
  36. /// </summary>
  37. /// <value></value>
  38. [DataColumn]
  39. public int TypeValue { get; set; }
  40. /// <summary>
  41. /// 标题
  42. /// </summary>
  43. /// <value></value>
  44. [DataColumn]
  45. public string Title { get; set; }
  46. /// <summary>
  47. /// 评分
  48. /// </summary>
  49. /// <value></value>
  50. [DataColumn]
  51. public decimal Score { get; set; }
  52. }
  53. }