using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel.CacheManage; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace EMIS.ViewModel.ScoreManage { public class ScoreParameterCollegeSettingView { /// /// ScoreParameterCollegeSettingID /// public System.Guid ScoreParameterCollegeSettingID { get; set; } /// /// Years /// [DisplayName("年级")] public Nullable Years { get; set; } /// /// CollegeID /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")] public Nullable CollegeID { get; set; } public string CollegeNo { get; set; } public string CollegeName { get; set; } /// /// ScoreTypeID /// [DisplayName("单独管理成绩")] public Nullable ScoreTypeID { get; set; } public string ScoreTypeDesc { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ScoreType.ToString()) .Where(x => x.Value == ScoreTypeID) .Select(x => x.Name).FirstOrDefault(); } } } }