Topic.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using Datory.Annotations;
  2. namespace GxPress.Entity.Topic
  3. {
  4. /// <summary>
  5. /// 话题
  6. /// </summary>
  7. [DataTable("tede_topic")]
  8. public class Topic : Datory.Entity
  9. {
  10. /// <summary>
  11. ///标题
  12. /// </summary>
  13. [DataColumn]
  14. public string Title { get; set; }
  15. /// <summary>
  16. /// 用户
  17. /// </summary>
  18. [DataColumn]
  19. public int UserId { get; set; }
  20. /// <summary>
  21. /// 内容
  22. /// </summary>
  23. [DataColumn]
  24. public string Content { get; set; }
  25. /// <summary>
  26. /// 纯文本
  27. /// </summary>
  28. /// <value></value>
  29. [DataColumn]
  30. public string TextContent { get; set; }
  31. /// <summary>
  32. /// 内容
  33. /// </summary>
  34. [DataColumn]
  35. public string HtmlContent { get; set; }
  36. /// <summary>
  37. /// 阅读量
  38. /// </summary>
  39. [DataColumn]
  40. public int ReadCount { get; set; }
  41. /// <summary>
  42. /// 允许用户
  43. /// </summary>
  44. [DataColumn]
  45. public string AdmitPhone { get; set; }
  46. /// <summary>
  47. /// 小组ID
  48. /// </summary>
  49. [DataColumn]
  50. public int GroupId { get; set; }
  51. /// <summary>
  52. /// 笔记文件夹ID
  53. /// </summary>
  54. /// <value></value>
  55. [DataColumn]
  56. public int FolderId { get; set; }
  57. /// <summary>
  58. /// 是否草稿
  59. /// </summary>
  60. /// <value></value>
  61. [DataColumn]
  62. public bool IsDraft { get; set; }
  63. }
  64. }