ProjectScoreDetailView.cs 961 B

12345678910111213141516171819202122232425262728293031323334
  1. using EMIS.ViewModel.Cache;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace EMIS.ViewModel.ScoreManage
  7. {
  8. public class ProjectScoreDetailView
  9. {
  10. public Guid ExaminationScoreID { get; set; }
  11. public int? ExaminationSubjectID { get; set; }
  12. public string ExaminationSubjectName
  13. {
  14. get
  15. {
  16. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationSubject.ToString())
  17. .Where(x => x.Value == ExaminationSubjectID)
  18. .Select(x => x.Name).FirstOrDefault();
  19. }
  20. }
  21. public decimal? Score { get; set; }
  22. public Guid? SchoolyearID { get; set; }
  23. public string SchoolyearCode { get; set; }
  24. public Guid? ExaminationBatchID { get; set; }
  25. public string ExaminationBatchName { get; set; }
  26. public DateTime? CreateTime { get; set; }
  27. }
  28. }