Note.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. /// 共享文件夹ID
  49. /// </summary>
  50. /// <value></value>
  51. [DataColumn]
  52. public int FolderId { get; set; }
  53. }
  54. }