Teacher.cs 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. public string Creator { get; set; }
  21. /// <summary>
  22. /// 操作人姓名
  23. /// </summary>
  24. /// <value></value>
  25. [DataColumn]
  26. public int AdminId { get; set; }
  27. /// <summary>
  28. /// 简介
  29. /// </summary>
  30. /// <value></value>
  31. [DataColumn]
  32. public string Summary { get; set; }
  33. /// <summary>
  34. /// 分类ID
  35. /// </summary>
  36. /// <value></value>
  37. [DataColumn]
  38. public string CategoryId { get; set; }
  39. /// <summary>
  40. /// 分类名称
  41. /// </summary>
  42. /// <value></value>
  43. [DataColumn]
  44. public string CategoryName { get; set; }
  45. /// <summary>
  46. /// 资源数量
  47. /// </summary>
  48. /// <value></value>
  49. [DataColumn]
  50. public int ResourceCount { get; set; }
  51. /// <summary>
  52. /// 收藏数量
  53. /// </summary>
  54. /// <value></value>
  55. [DataColumn]
  56. public int CollectCount { get; set; }
  57. /// <summary>
  58. /// 排序
  59. /// </summary>
  60. [DataColumn]
  61. public int Sort { get; set; }
  62. /// <summary>
  63. /// 是否禁用
  64. /// </summary>
  65. /// <value></value>
  66. [DataColumn]
  67. public bool IsDisable { get; set; }
  68. /// <summary>
  69. /// 职位
  70. /// </summary>
  71. /// <value></value>
  72. [DataColumn]
  73. public string Job { get; set; }
  74. /// <summary>
  75. /// 是否推荐
  76. /// </summary>
  77. /// <value></value>
  78. [DataColumn]
  79. public bool IsRecommend { get; set; }
  80. /// <summary>
  81. /// 图片
  82. /// </summary>
  83. [DataColumn]
  84. public string ImageUrl { get; set; }
  85. }
  86. }