EducationMissionClassStudentView.cs 974 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.Entities;
  6. using EMIS.ViewModel.CacheManage;
  7. namespace EMIS.ViewModel.EducationManage
  8. {
  9. public class EducationMissionClassStudentView
  10. {
  11. public Guid? SchoolyearID { get; set; }
  12. public Guid? CoursematerialID { get; set; }
  13. public int? HandleModeID { get; set; }
  14. public int? CourseSelectTypeID { get; set; }
  15. public Guid? UserID { get; set; }
  16. public string LoginID { get; set; }
  17. public string Name { get; set; }
  18. public string ClassName { get; set; }
  19. public int? StudentStatus { get; set; }
  20. public string StudentStatusName
  21. {
  22. get
  23. {
  24. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString())
  25. .Where(x => x.Value == StudentStatus).Select(x => x.Name).FirstOrDefault();
  26. }
  27. }
  28. }
  29. }