123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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
- {
- /// <summary>
- /// ScoreParameterCollegeSettingID
- /// </summary>
- public System.Guid ScoreParameterCollegeSettingID { get; set; }
- /// <summary>
- /// Years
- /// </summary>
-
- [DisplayName("年级")]
- public Nullable<int> Years { get; set; }
- /// <summary>
- /// CollegeID
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public Nullable<System.Guid> CollegeID { get; set; }
- public string CollegeNo { get; set; }
- public string CollegeName { get; set; }
- /// <summary>
- /// ScoreTypeID
- /// </summary>
- [DisplayName("单独管理成绩")]
- public Nullable<int> ScoreTypeID { get; set; }
- public string ScoreTypeDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ScoreType.ToString())
- .Where(x => x.Value == ScoreTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- }
- }
|