Teacher.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. using Datory.Annotations;
  2. namespace GxPress.Entity.tede2.Teacher
  3. {
  4. /// <summary>
  5. /// 名师
  6. /// </summary>
  7. [DataTable("tede_teacher")]
  8. public class Teacher : Datory.Entity
  9. {
  10. /// <summary>
  11. /// 名称
  12. /// </summary>
  13. /// <value></value>
  14. [DataColumn]
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 操作人
  18. /// </summary>
  19. /// <value></value>
  20. [DataColumn]
  21. public string Creator { get; set; }
  22. /// <summary>
  23. /// 操作人姓名
  24. /// </summary>
  25. /// <value></value>
  26. [DataColumn]
  27. public int AdminId { get; set; }
  28. /// <summary>
  29. /// 简介
  30. /// </summary>
  31. /// <value></value>
  32. [DataColumn]
  33. public string Summary { get; set; }
  34. /// <summary>
  35. /// 分类ID
  36. /// </summary>
  37. /// <value></value>
  38. [DataColumn]
  39. public int CategoryId { get; set; }
  40. /// <summary>
  41. /// 分类名称
  42. /// </summary>
  43. /// <value></value>
  44. [DataColumn]
  45. public string CategoryName { get; set; }
  46. /// <summary>
  47. /// 资源数量
  48. /// </summary>
  49. /// <value></value>
  50. [DataColumn]
  51. public int ResourceCount { get; set; }
  52. /// <summary>
  53. /// 收藏数量
  54. /// </summary>
  55. /// <value></value>
  56. [DataColumn]
  57. public int CollectCount { get; set; }
  58. /// <summary>
  59. /// 排序
  60. /// </summary>
  61. [DataColumn]
  62. public int Sort { get; set; }
  63. /// <summary>
  64. /// 是否禁用
  65. /// </summary>
  66. /// <value></value>
  67. [DataColumn]
  68. public bool IsDisable { get; set; }
  69. /// <summary>
  70. /// 职位
  71. /// </summary>
  72. /// <value></value>
  73. [DataColumn]
  74. public string Job { get; set; }
  75. /// <summary>
  76. /// 是否推荐
  77. /// </summary>
  78. /// <value></value>
  79. [DataColumn]
  80. public bool IsRecommend { get; set; }
  81. /// <summary>
  82. /// 图片
  83. /// </summary>
  84. [DataColumn]
  85. public string ImageUrl { get; set; }
  86. }
  87. }