StudentMinorView.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using EMIS.ViewModel.CacheManage;
  7. using System.ComponentModel.DataAnnotations;
  8. namespace EMIS.ViewModel.MinorManage.MinorApply
  9. {
  10. public class StudentMinorView
  11. {
  12. /// <summary>
  13. /// 辅修专业学生报名ID
  14. /// </summary>
  15. [DisplayName("辅修专业学生报名ID")]
  16. public Guid StudentMinorRegistID { get; set; }
  17. /// <summary>
  18. /// 学生ID
  19. /// </summary>
  20. [DisplayName("学生ID")]
  21. public Guid? UserID { get; set; }
  22. /// <summary>
  23. /// 学号
  24. /// </summary>
  25. [DisplayName("学号")]
  26. public string LoginID { get; set; }
  27. /// <summary>
  28. /// 学生姓名
  29. /// </summary>
  30. [DisplayName("姓名")]
  31. public string UserName { get; set; }
  32. /// <summary>
  33. /// 年级
  34. /// </summary>
  35. [DisplayName("年级")]
  36. public int? GradeYearID { get; set; }
  37. /// <summary>
  38. /// 年级
  39. /// </summary>
  40. [DisplayName("年级")]
  41. public string Grade
  42. {
  43. get
  44. {
  45. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeYearID).Select(x => x.Name).FirstOrDefault();
  46. }
  47. }
  48. /// <summary>
  49. /// 辅修专业ID
  50. /// </summary>
  51. [DisplayName("辅修专业ID")]
  52. public Guid? GrademinorID { get; set; }
  53. /// <summary>
  54. /// 辅修专业
  55. /// </summary>
  56. [DisplayName("辅修专业")]
  57. public int? Grademinor { get; set; }
  58. /// <summary>
  59. /// 辅修专业代码
  60. /// </summary>
  61. [DisplayName("辅修专业代码")]
  62. public string GrademinorCode { get; set; }
  63. /// <summary>
  64. /// 辅修专业名称
  65. /// </summary>
  66. [DisplayName("辅修专业")]
  67. public string GrademinorName { get; set; }
  68. /// <summary>
  69. /// 学院ID
  70. /// </summary>
  71. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
  72. public Guid? CollegeID { get; set; }
  73. /// <summary>
  74. /// 学院代码
  75. /// </summary>
  76. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  77. public string CollegeCode { get; set; }
  78. /// <summary>
  79. /// 学院名称
  80. /// </summary>
  81. [DisplayName("开设院系")]
  82. public string CollegeName { get; set; }
  83. /// <summary>
  84. /// 已修门数
  85. /// </summary>
  86. [DisplayName("已修门数")]
  87. public int? CourseCount { get; set; }
  88. /// <summary>
  89. /// 已修学分
  90. /// </summary>
  91. [DisplayName("已修学分")]
  92. public decimal? Credit { get; set; }
  93. /// <summary>
  94. /// 状态
  95. /// </summary>
  96. [DisplayName("状态")]
  97. public int? RecordStatus { get; set; }
  98. /// <summary>
  99. /// 状态
  100. /// </summary>
  101. [DisplayName("状态")]
  102. public string RecordStatusStr { get; set; }
  103. }
  104. }