GenerateTrainingClassView.cs 1014 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.Cache;
  6. namespace EMIS.ViewModel.EducationManage
  7. {
  8. public class GenerateTrainingClassView
  9. {
  10. public Guid? SchoolyearID { get; set; }
  11. public string SchoolyearCode { get; set; }
  12. public Guid? ExaminationBatchProjectID { get; set; }
  13. public Guid? ExaminationBatchID { get; set; }
  14. public string ExaminationBatchName { get; set; }
  15. public Guid? ExaminationProjectID { get; set; }
  16. public string ExaminationProjectName { get; set; }
  17. public int? SchoolAreaID { get; set; }
  18. public string SchoolAreaName
  19. {
  20. get
  21. {
  22. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolArea.ToString())
  23. .Where(x => x.Value == SchoolAreaID)
  24. .Select(x => x.Name).FirstOrDefault();
  25. }
  26. }
  27. public Guid UserID { get; set; }
  28. }
  29. }