using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using EMIS.ViewModel.CacheManage; namespace EMIS.ViewModel.StudentManage.StudentChange { public class ChangeTotalView { /// /// 校区ID /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")] public Guid? CampusID { get; set; } /// /// 校区代码 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")] public string CampusCode { get; set; } /// /// 校区名称 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")] public string CampusName { get; set; } /// /// 院系所ID /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")] public Guid? CollegeID { get; set; } /// /// 院系所代码 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCode")] public string CollegeNo { get; set; } /// /// 院系所 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")] public string CollegeName { get; set; } /// /// 异动类型 /// [DisplayName("异动类型")] public int? ChangeTypeID { get; set; } /// /// 异动类型 /// [DisplayName("异动类型")] public string ChangeTypeName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ChangeType.ToString()).Where(x => x.Value == ChangeTypeID).Select(x => x.Name).FirstOrDefault(); } } /// /// 异动数 /// [DisplayName("异动数")] public int? ChangeTypeCount { get; set; } } }