TrainingClassView.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.Cache;
  6. using System.ComponentModel;
  7. namespace EMIS.ViewModel.EducationManage
  8. {
  9. public class TrainingClassView
  10. {
  11. public Guid TrainingClassID { get; set; }
  12. public Guid? SchoolyearID { get; set; }
  13. [DisplayName("学年学期")]
  14. public string SchoolyearCode { get; set; }
  15. public Guid? ExaminationBatchID { get; set; }
  16. [DisplayName("批次")]
  17. public string ExaminationBatchName { get; set; }
  18. public DateTime? ExaminationBatchCreateTime { get; set; }
  19. public Guid? ExaminationTypeID { get; set; }
  20. [DisplayName("项目类型")]
  21. public string ExaminationTypeName { get; set; }
  22. public Guid? ExaminationProjectID { get; set; }
  23. [DisplayName("项目名称")]
  24. public string ExaminationProjectName { get; set; }
  25. public int? SchoolAreaID { get; set; }
  26. public string SchoolAreaName
  27. {
  28. get
  29. {
  30. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolArea.ToString())
  31. .Where(x => x.Value == SchoolAreaID)
  32. .Select(x => x.Name).FirstOrDefault();
  33. }
  34. }
  35. [DisplayName("培训班名称")]
  36. public string Name { get; set; }
  37. public int? StudentCount { get; set; }
  38. }
  39. }