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.ScoreManage { public class ScoreConvertByReplaceView { public System.Guid ScoreConvertByReplaceID { get; set; } [DisplayName("学年学期")] public Nullable SchoolyearID { get; set; } public string SchoolyearCode { get; set; } [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")] public Nullable CollegeID { get; set; } public string CollegeNo { get; set; } public string CollegeName { get; set; } [DisplayName("年级")] public Nullable YearID { get; set; } [DisplayName("专业")] public Nullable StandardID { get; set; } public string StandardDesc { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()) .Where(x => x.Value == StandardID) .Select(x => x.Name).FirstOrDefault(); } } [DisplayName("班级")] public Nullable ClassmajorID { get; set; } public string ClassmajorNo { get; set; } public string ClassmajorName { get; set; } [DisplayName("学号/姓名")] [Required] public Nullable UserID { get; set; } public string LoginID { get; set; } public string Name { get; set; } [DisplayName("已通过课程")] public Nullable SourceCoursematerialID { get; set; } public string SourceCourseCode { get; set; } public string SourceCourseName { get; set; } [DisplayName("总成绩")] public Nullable TotalScore { get; set; } [DisplayName("替换课程")] public Nullable TargetCoursematerialID { get; set; } public string TargetCourseCode { get; set; } public string TargetCourseName { get; set; } [DisplayName("原因")] public string Reason { get; set; } public Nullable RecordStatus { get; set; } public string RecordStatusDesc { get; set; } } }