ExaminationSubjectCollegeControlView.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.SelectCourse
  9. {
  10. public class ExaminationSubjectCollegeControlView
  11. {
  12. /// <summary>
  13. /// 专业报考限制ID
  14. /// </summary>
  15. [DisplayName("专业报考限制ID")]
  16. public Guid ExaminationSubjectCollegeControlID { get; set; }
  17. /// <summary>
  18. /// 考试科目ID
  19. /// </summary>
  20. [Required]
  21. [DisplayName("考试科目ID")]
  22. public Guid? ExaminationSubjectID { get; set; }
  23. /// <summary>
  24. /// 考试科目
  25. /// </summary>
  26. [Required]
  27. [DisplayName("考试科目")]
  28. public string ExaminationSubjectName { get; set; }
  29. /// <summary>
  30. /// 考试类型ID
  31. /// </summary>
  32. [Required]
  33. [DisplayName("考试类型")]
  34. public Guid? ExaminationTypeID { get; set; }
  35. /// <summary>
  36. /// 考试类型
  37. /// </summary>
  38. [DisplayName("考试类型")]
  39. public string ExaminationTypeName { get; set; }
  40. /// <summary>
  41. /// 院系专业ID
  42. /// </summary>
  43. [Required]
  44. [DisplayName("院系专业ID")]
  45. public Guid? FacultymajorID { get; set; }
  46. /// <summary>
  47. /// 院系专业
  48. /// </summary>
  49. [Required]
  50. [DisplayName("院系专业")]
  51. public string FacultymajorName { get; set; }
  52. /// <summary>
  53. /// 院系所ID
  54. /// </summary>
  55. [DisplayName("院系所ID")]
  56. public Guid? CollegeID { get; set; }
  57. /// <summary>
  58. /// 院系所
  59. /// </summary>
  60. [DisplayName("院系所")]
  61. public string CollegeName { get; set; }
  62. /// <summary>
  63. /// 年级数
  64. /// </summary>
  65. [DisplayName("年级数")]
  66. public int? SchoolyearNumID { get; set; }
  67. /// <summary>
  68. /// 年级数
  69. /// </summary>
  70. [DisplayName("年级数")]
  71. public string SchoolyearNum
  72. {
  73. get
  74. {
  75. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolyearNum.ToString())
  76. .Where(x => x.Value == SchoolyearNumID)
  77. .Select(x => x.Name).FirstOrDefault();
  78. }
  79. }
  80. /// <summary>
  81. /// 状态
  82. /// </summary>
  83. [DisplayName("状态")]
  84. public int? RecordStatus { get; set; }
  85. }
  86. }