using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel.Cache; namespace EMIS.ViewModel.EducationManage { public class TrainingClassExportView { public Guid TrainingClassID { get; set; } public Guid? SchoolyearID { get; set; } public string SchoolyearCode { get; set; } public Guid? ExaminationBatchID { get; set; } public string ExaminationBatchName { get; set; } public DateTime? ExaminationBatchCreateTime { get; set; } public Guid? ExaminationTypeID { get; set; } public string ExaminationTypeName { get; set; } public Guid? ExaminationProjectID { get; set; } public string ExaminationProjectName { get; set; } public Guid UserID { get; set; } public Guid? GrademajorID { get; set; } public int? Year { get; set; } public Guid? ClassmajorID { get; set; } public string ClassmajorName { 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 Nullable 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 string Mobile { get; set; } public string Name { get; set; } } }