Note.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. using Datory.Annotations;
  2. namespace GxPress.Entity.Note
  3. {
  4. /// <summary>
  5. /// 个人笔记
  6. /// </summary>
  7. [DataTable("tede_note")]
  8. public class Note : 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 string Content { get; set; }
  20. /// <summary>
  21. /// 内容
  22. /// </summary>
  23. [DataColumn]
  24. public string HtmlContent { get; set; }
  25. /// <summary>
  26. /// 用户
  27. /// </summary>
  28. [DataColumn]
  29. public int UserId { get; set; }
  30. /// <summary>
  31. /// 阅读数量
  32. /// </summary>
  33. [DataColumn]
  34. public int ReadCount { get; set; }
  35. /// <summary>
  36. /// 是否删除
  37. /// </summary>
  38. /// <value></value>
  39. [DataColumn]
  40. public bool IsDelete { get; set; }
  41. /// <summary>
  42. /// 是否是话题
  43. /// </summary>
  44. /// <value></value>
  45. [DataColumn]
  46. public bool IsTopic { get; set; }
  47. /// <summary>
  48. /// 是否是草稿
  49. /// </summary>
  50. /// <value></value>
  51. [DataColumn]
  52. public bool IsDraft { get; set; }
  53. /// <summary>
  54. /// 共享文件夹ID
  55. /// </summary>
  56. /// <value></value>
  57. [DataColumn]
  58. public int FolderId { get; set; }
  59. /// <summary>
  60. /// 媒体ID
  61. /// </summary>
  62. /// <value></value>
  63. [DataColumn]
  64. public int MediaId { get; set; }
  65. /// <summary>
  66. /// 媒体类型
  67. /// </summary>
  68. /// <value></value>
  69. [DataColumn]
  70. public int MediaType { get; set; }
  71. /// <summary>
  72. /// 目录ID
  73. /// </summary>
  74. /// <value></value>
  75. [DataColumn]
  76. public string CatalogId { get; set; }
  77. /// <summary>
  78. /// 章节ID
  79. /// </summary>
  80. /// <value></value>
  81. [DataColumn]
  82. public string ChapterId { get; set; }
  83. /// <summary>
  84. /// 是否置顶
  85. /// </summary>
  86. /// <value></value>
  87. [DataColumn]
  88. public bool IsTop { get; set; }
  89. }
  90. }