Topic.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. [DataColumn]
  29. public string HtmlContent { get; set; }
  30. /// <summary>
  31. /// 阅读量
  32. /// </summary>
  33. [DataColumn]
  34. public int ReadCount { get; set; }
  35. /// <summary>
  36. /// 允许用户
  37. /// </summary>
  38. [DataColumn]
  39. public string AdmitPhone { get; set; }
  40. /// <summary>
  41. /// 小组ID
  42. /// </summary>
  43. [DataColumn]
  44. public int GroupId { get; set; }
  45. /// <summary>
  46. /// 笔记文件夹ID
  47. /// </summary>
  48. /// <value></value>
  49. [DataColumn]
  50. public int FolderId { get; set; }
  51. }
  52. }