using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel.Cache; namespace EMIS.ViewModel.ScoreManage { public class ProjectScoreView { public Guid ProjectScoreID { get; set; } public Guid? SchoolyearID { get; set; } public string SchoolyearCode { 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; } public Guid? ExaminationTypeID { get; set; } public string ExaminationTypeName { get; set; } public Guid? ExaminationProjectID { get; set; } public string ExaminationProjectName { get; set; } public Guid? LevelSettingID { get; set; } public string LevelName { get; set; } public Guid? TrainingClassID { get; set; } public string TrainingClassName { get; set; } } }