StudentSelectCourseSummaryView.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. namespace EMIS.ViewModel.SelectCourse.SelectCourseResult
  7. {
  8. public class StudentSelectCourseSummaryView : StudentSelectCourseBaseView
  9. {
  10. public StudentSelectCourseSummaryView(StudentSelectCourseBaseView baseView)
  11. {
  12. this.UserID = baseView.UserID;
  13. this.Name = baseView.Name;
  14. this.ClassmajorID = baseView.ClassmajorID;
  15. this.ClassmajorName = baseView.ClassmajorName;
  16. this.GrademajorID = baseView.GrademajorID;
  17. this.GrademajorName = baseView.GrademajorName;
  18. this.GrademajorYear = baseView.GrademajorYear;
  19. this.OptionalTotalSelectCount = baseView.OptionalTotalSelectCount;
  20. this.FreeSelectCourseTotalSelectCount = baseView.FreeSelectCourseTotalSelectCount;
  21. this.OptionalTotalCredit = baseView.OptionalTotalCredit;
  22. this.FreeSelectCourseTotalCredit = baseView.FreeSelectCourseTotalCredit;
  23. this.InSchoolStatusID = baseView.InSchoolStatusID;
  24. }
  25. /// <summary>
  26. /// 是否在校
  27. /// </summary>
  28. [DisplayName("是否在校")]
  29. public bool isInSchool { get; set; }
  30. /// <summary>
  31. /// 开始时间
  32. /// </summary>
  33. [DisplayName("开始时间")]
  34. public DateTime? OptionalStartTime { get; set; }
  35. /// <summary>
  36. /// 结束时间
  37. /// </summary>
  38. [DisplayName("结束时间")]
  39. public DateTime? OptionalEndTime { get; set; }
  40. /// <summary>
  41. /// 门数下限
  42. /// </summary>
  43. [DisplayName("门数下限")]
  44. public int? OptionalMinSelectCount { get; set; }
  45. /// <summary>
  46. /// 门数上限
  47. /// </summary>
  48. [DisplayName("门数上限")]
  49. public int? OptionalMaxSelectCount { get; set; }
  50. /// <summary>
  51. /// 学分下限
  52. /// </summary>
  53. [DisplayName("学分下限")]
  54. public decimal? OptionalMinCredit { get; set; }
  55. /// <summary>
  56. /// 学分上限
  57. /// </summary>
  58. [DisplayName("学分上限")]
  59. public decimal? OptionalMaxCredit { get; set; }
  60. /// <summary>
  61. /// 开始时间
  62. /// </summary>
  63. [DisplayName("开始时间")]
  64. public DateTime? FreeSelectCourseStartTime { get; set; }
  65. /// <summary>
  66. /// 结束时间
  67. /// </summary>
  68. [DisplayName("结束时间")]
  69. public DateTime? FreeSelectCourseEndTime { get; set; }
  70. /// <summary>
  71. /// 门数下限
  72. /// </summary>
  73. [DisplayName("门数下限")]
  74. public int? FreeSelectCourseMinSelectCount { get; set; }
  75. /// <summary>
  76. /// 门数上限
  77. /// </summary>
  78. [DisplayName("门数上限")]
  79. public int? FreeSelectCourseMaxSelectCount { get; set; }
  80. /// <summary>
  81. /// 学分下限
  82. /// </summary>
  83. [DisplayName("学分下限")]
  84. public decimal? FreeSelectCourseMinCredit { get; set; }
  85. /// <summary>
  86. /// 学分上限
  87. /// </summary>
  88. [DisplayName("学分上限")]
  89. public decimal? FreeSelectCourseMaxCredit { get; set; }
  90. /// <summary>
  91. ///
  92. /// </summary>
  93. [DisplayName("年级专业开选时间")]
  94. public DateTime? GrademajorStartTime { get; set; }
  95. /// <summary>
  96. ///
  97. /// </summary>
  98. [DisplayName("年级专业结束时间")]
  99. public DateTime? GrademajorEndTime { get; set; }
  100. /// <summary>
  101. ///
  102. /// </summary>
  103. [DisplayName("年级专业门数上限")]
  104. public int? GrademajorMaxSelectCount { get; set; }
  105. /// <summary>
  106. ///
  107. /// </summary>
  108. [DisplayName("年级专业门数下限")]
  109. public int? GrademajorMinSelectCount { get; set; }
  110. /// <summary>
  111. ///
  112. /// </summary>
  113. [DisplayName("年级专业学分上限")]
  114. public decimal? GrademajorMaxCredit { get; set; }
  115. /// <summary>
  116. ///
  117. /// </summary>
  118. [DisplayName("年级专业学分下限")]
  119. public decimal? GrademajorMinCredit { get; set; }
  120. /// <summary>
  121. ///
  122. /// </summary>
  123. [DisplayName("年级开选时间")]
  124. public DateTime? GradeYearStartTime { get; set; }
  125. /// <summary>
  126. ///
  127. /// </summary>
  128. [DisplayName("年级结束时间")]
  129. public DateTime? GradeYearEndTime { get; set; }
  130. /// <summary>
  131. ///
  132. /// </summary>
  133. [DisplayName("年级门数上限")]
  134. public int? GradeYearMaxSelectCount { get; set; }
  135. /// <summary>
  136. ///
  137. /// </summary>
  138. [DisplayName("年级门数下限")]
  139. public int? GradeYearMinSelectCount { get; set; }
  140. /// <summary>
  141. ///
  142. /// </summary>
  143. [DisplayName("年级学分上限")]
  144. public decimal? GradeYearMaxCredit { get; set; }
  145. /// <summary>
  146. ///
  147. /// </summary>
  148. [DisplayName("年级学分下限")]
  149. public decimal? GradeYearMinCredit { get; set; }
  150. }
  151. }