CampusView.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. namespace EMIS.ViewModel.UniversityManage.AdministrativeOrgan
  8. {
  9. public class CampusView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusID")]
  15. public Guid CampusID { get; set; }
  16. /// <summary>
  17. /// 学校信息ID
  18. /// </summary>
  19. [Required]
  20. [DisplayName("学校信息ID")]
  21. public Guid? UniversityID { get; set; }
  22. /// <summary>
  23. /// 学校代码
  24. /// </summary>
  25. [DisplayName("学校代码")]
  26. public string UniversityCode { get; set; }
  27. /// <summary>
  28. /// 学校名称
  29. /// </summary>
  30. [DisplayName("学校名称")]
  31. public string UniversityName { get; set; }
  32. /// <summary>
  33. /// 校区代码
  34. /// </summary>
  35. [Required]
  36. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")]
  37. [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "请输入数字或英文字母")]
  38. public string No { get; set; }
  39. /// <summary>
  40. /// 校区名称
  41. /// </summary>
  42. [Required]
  43. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusName")]
  44. public string Name { get; set; }
  45. /// <summary>
  46. /// 校区简称
  47. /// </summary>
  48. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusSimpleName")]
  49. public string SimpleName { get; set; }
  50. /// <summary>
  51. /// 英文名称
  52. /// </summary>
  53. [DisplayName("英文名称")]
  54. public string EnglishName { get; set; }
  55. /// <summary>
  56. /// 总负责人
  57. /// </summary>
  58. [DisplayName("总负责人")]
  59. public Guid? Generalsuper { get; set; }
  60. /// <summary>
  61. /// 总负责人
  62. /// </summary>
  63. [DisplayName("总负责人")]
  64. public string GeneralsuperName { get; set; }
  65. /// <summary>
  66. /// 招生负责人
  67. /// </summary>
  68. [DisplayName("招生负责人")]
  69. public Guid? Recruitstudents { get; set; }
  70. /// <summary>
  71. /// 招生负责人
  72. /// </summary>
  73. [DisplayName("招生负责人")]
  74. public string RecruitstudentsName { get; set; }
  75. /// <summary>
  76. /// 学籍负责人
  77. /// </summary>
  78. [DisplayName("学籍负责人")]
  79. public Guid? Placesuper { get; set; }
  80. /// <summary>
  81. /// 学籍负责人
  82. /// </summary>
  83. [DisplayName("学籍负责人")]
  84. public string PlacesuperName { get; set; }
  85. /// <summary>
  86. /// 教学负责人
  87. /// </summary>
  88. [DisplayName("教学负责人")]
  89. public Guid? Teachingsuper { get; set; }
  90. /// <summary>
  91. /// 教学负责人
  92. /// </summary>
  93. [DisplayName("教学负责人")]
  94. public string TeachingsuperName { get; set; }
  95. /// <summary>
  96. /// 学生负责人
  97. /// </summary>
  98. [DisplayName("学生负责人")]
  99. public Guid? Studentcharge { get; set; }
  100. /// <summary>
  101. /// 学生负责人
  102. /// </summary>
  103. [DisplayName("学生负责人")]
  104. public string StudentchargeName { get; set; }
  105. /// <summary>
  106. /// 邮政编码
  107. /// </summary>
  108. [DisplayName("邮政编码")]
  109. public string ZIPCode { get; set; }
  110. /// <summary>
  111. /// 办公电话
  112. /// </summary>
  113. [DisplayName("办公电话")]
  114. public string Officephone { get; set; }
  115. /// <summary>
  116. /// 传真
  117. /// </summary>
  118. [DisplayName("传真")]
  119. public string FAX { get; set; }
  120. /// <summary>
  121. /// 电子邮箱
  122. /// </summary>
  123. [DisplayName("电子邮箱")]
  124. public string Email { get; set; }
  125. /// <summary>
  126. /// 历史沿革
  127. /// </summary>
  128. [DisplayName("历史沿革")]
  129. public string Evolution { get; set; }
  130. /// <summary>
  131. /// 院系所数
  132. /// </summary>
  133. [Required]
  134. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCount")]
  135. public int? CollegeCount { get; set; }
  136. /// <summary>
  137. /// 备注
  138. /// </summary>
  139. [DisplayName("备注")]
  140. public string Remark { get; set; }
  141. /// <summary>
  142. /// 状态
  143. /// </summary>
  144. [DisplayName("状态")]
  145. public int? RecordStatus { get; set; }
  146. /// <summary>
  147. /// 创建人
  148. /// </summary>
  149. [DisplayName("创建人")]
  150. public Guid? CreateUserID { get; set; }
  151. /// <summary>
  152. /// 创建时间
  153. /// </summary>
  154. [DisplayName("创建时间")]
  155. public DateTime? CreateTime { get; set; }
  156. /// <summary>
  157. /// 修改人
  158. /// </summary>
  159. [DisplayName("修改人")]
  160. public Guid? ModifyUserID { get; set; }
  161. /// <summary>
  162. /// 修改时间
  163. /// </summary>
  164. [DisplayName("修改时间")]
  165. public DateTime? ModifyTime { get; set; }
  166. }
  167. }