using EMIS.ViewModel.Cache; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EMIS.ViewModel.EducationManage { public class ExaminationMessageView { public Guid ExaminationRegistrationID { get; set; } public Guid? SchoolyearID { get; set; } public string SchoolyearCode { get; set; } public Guid? ExaminationBatchID { get; set; } public string ExaminationBatchName { get; set; } public Guid? ExaminationTypeID { get; set; } public string ExaminationTypeName { get; set; } public Guid? ExaminationProjectID { get; set; } public string ExaminationProjectName { get; set; } public Guid? ClassmajorID { get; set; } public string ClassmajorName { get; set; } public Guid? UserID { get; set; } public string UserName { get; set; } public int? Sex { get; set; } public string SexName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString()) .Where(x => x.Value == Sex) .Select(x => x.Name).FirstOrDefault(); } } public string StudentCardNo { 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 DateTime? ExaminationTime { get; set; } public string Remark { get; set; } } }