123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.SelectCourse
- {
- public class ExaminationSubjectCollegeControlView
- {
- /// <summary>
- /// 专业报考限制ID
- /// </summary>
- [DisplayName("专业报考限制ID")]
- public Guid ExaminationSubjectCollegeControlID { get; set; }
- /// <summary>
- /// 考试科目ID
- /// </summary>
- [Required]
- [DisplayName("考试科目ID")]
- public Guid? ExaminationSubjectID { get; set; }
- /// <summary>
- /// 考试科目
- /// </summary>
- [Required]
- [DisplayName("考试科目")]
- public string ExaminationSubjectName { get; set; }
- /// <summary>
- /// 考试类型ID
- /// </summary>
- [Required]
- [DisplayName("考试类型")]
- public Guid? ExaminationTypeID { get; set; }
- /// <summary>
- /// 考试类型
- /// </summary>
- [DisplayName("考试类型")]
- public string ExaminationTypeName { get; set; }
- /// <summary>
- /// 院系专业ID
- /// </summary>
- [Required]
- [DisplayName("院系专业ID")]
- public Guid? FacultymajorID { get; set; }
- /// <summary>
- /// 院系专业
- /// </summary>
- [Required]
- [DisplayName("院系专业")]
- public string FacultymajorName { get; set; }
- /// <summary>
- /// 院系所ID
- /// </summary>
- [DisplayName("院系所ID")]
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 院系所
- /// </summary>
- [DisplayName("院系所")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 年级数
- /// </summary>
- [DisplayName("年级数")]
- public int? SchoolyearNumID { get; set; }
- /// <summary>
- /// 年级数
- /// </summary>
- [DisplayName("年级数")]
- public string SchoolyearNum
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolyearNum.ToString())
- .Where(x => x.Value == SchoolyearNumID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public int? RecordStatus { get; set; }
- }
- }
|