using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel; using Bowin.Common.Mvc; using EMIS.ViewModel.Cache; namespace EMIS.ViewModel.ScoreManage { public class LevelScoreView { public Guid? ExaminationScoreID { get; set; } [DisplayName("学年学期")] public Guid? SchoolyearID { get; set; } [DisplayName("学年学期")] public string SchoolyearCode { get; set; } [DisplayName("考试批次")] public Guid? ExaminationBatchProjectID { get; set; } [DisplayName("考试批次")] public Guid? ExaminationBatchID { get; set; } [DisplayName("考试批次")] public string ExaminationBatchName { get; set; } [DisplayName("考试类型")] public Guid? ExaminationTypeID { get; set; } [DisplayName("考试类型")] public string ExaminationTypeName { get; set; } [DisplayName("项目名称")] public Guid? ExaminationProjectID { get; set; } [DisplayName("项目名称")] public string ExaminationProjectName { get; set; } [DisplayName("考试科目ID")] public int? ExaminationSubjectID { get; set; } [DisplayName("考试科目项")] public string ExaminationSubjectName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationSubject.ToString()) .Where(x => x.Value == ExaminationSubjectID) .Select(x => x.Name).FirstOrDefault(); } } public Dictionary ScoreList { get; set; } public string ScoreStr { get; set; } public decimal? Score { get; set; } public Guid? ProjectScoreID { get; set; } public Guid? LevelSettingID { get; set; } public string LevelName { get; set; } public string StudentNo { get; set; } public Guid? UserID { get; set; } public string UserName { get; set; } public int? CertificatesType { get; set; } public string CertificatesTypeName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString()) .Where(x => x.Value == CertificatesType) .Select(x => x.Name).FirstOrDefault(); } } public string IDNumber { get; set; } public Guid? CollegeID { get; set; } public string CollegeName { get; set; } public int? Year { get; set; } public int? StandardID { get; set; } public string StandardName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()) .Where(x => x.Value == StandardID) .Select(x => x.Name).FirstOrDefault(); } } public Guid? ClassmajorID { get; set; } public string ClassmajorName { get; set; } } }