using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel.Cache; namespace EMIS.ViewModel.EducationManage { public class GenerateTrainingClassView { public Guid? SchoolyearID { get; set; } public string SchoolyearCode { get; set; } public Guid? ExaminationBatchProjectID { get; set; } public Guid? ExaminationBatchID { get; set; } public string ExaminationBatchName { get; set; } public Guid? ExaminationProjectID { get; set; } public string ExaminationProjectName { get; set; } public int? SchoolAreaID { get; set; } public string SchoolAreaName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolArea.ToString()) .Where(x => x.Value == SchoolAreaID) .Select(x => x.Name).FirstOrDefault(); } } public Guid UserID { get; set; } } }