using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using EMIS.ViewModel.CacheManage; using System.ComponentModel.DataAnnotations; namespace EMIS.ViewModel.MinorManage.MinorApply { public class StudentMinorView { /// /// 辅修专业学生报名ID /// [DisplayName("辅修专业学生报名ID")] public Guid StudentMinorRegistID { get; set; } /// /// 学生ID /// [DisplayName("学生ID")] public Guid? UserID { get; set; } /// /// 学号 /// [DisplayName("学号")] public string LoginID { get; set; } /// /// 学生姓名 /// [DisplayName("姓名")] public string UserName { get; set; } /// /// 年级 /// [DisplayName("年级")] public int? GradeYearID { get; set; } /// /// 年级 /// [DisplayName("年级")] public string Grade { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeYearID).Select(x => x.Name).FirstOrDefault(); } } /// /// 辅修专业ID /// [DisplayName("辅修专业ID")] public Guid? GrademinorID { get; set; } /// /// 辅修专业 /// [DisplayName("辅修专业")] public int? Grademinor { get; set; } /// /// 辅修专业代码 /// [DisplayName("辅修专业代码")] public string GrademinorCode { get; set; } /// /// 辅修专业名称 /// [DisplayName("辅修专业")] public string GrademinorName { get; set; } /// /// 学院ID /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")] public Guid? CollegeID { get; set; } /// /// 学院代码 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")] public string CollegeCode { get; set; } /// /// 学院名称 /// [DisplayName("开设院系")] public string CollegeName { get; set; } /// /// 已修门数 /// [DisplayName("已修门数")] public int? CourseCount { get; set; } /// /// 已修学分 /// [DisplayName("已修学分")] public decimal? Credit { get; set; } /// /// 状态 /// [DisplayName("状态")] public int? RecordStatus { get; set; } /// /// 状态 /// [DisplayName("状态")] public string RecordStatusStr { get; set; } } }