RegistrationStudentAddView.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. using EMIS.ViewModel.Cache;
  8. namespace EMIS.ViewModel.ExaminationApply
  9. {
  10. public class RegistrationStudentAddView
  11. {
  12. [DisplayName("考试批次ID")]
  13. public Guid? ExaminationBatchID { get; set; }
  14. [DisplayName("考试批次")]
  15. public string ExaminationBatchName { get; set; }
  16. [DisplayName("考试类型ID")]
  17. public Guid? ExaminationTypeID { get; set; }
  18. [DisplayName("考试类型")]
  19. public string ExaminationTypeName { get; set; }
  20. [DisplayName("项目ID")]
  21. public Guid? ExaminationProjectID { get; set; }
  22. [DisplayName("项目名称")]
  23. public string ExaminationProjectName { get; set; }
  24. [DisplayName("项目收费标准对应收费项ID")]
  25. public Guid? ExaminationProjectFeeID { get; set; }
  26. [DisplayName("项目收费标准对应收费项")]
  27. public string ExaminationProjectFeeName { get; set; }
  28. [DisplayName("收费项ID")]
  29. public int? FeeTypeID { get; set; }
  30. [DisplayName("收费项")]
  31. public string FeeTypeName
  32. {
  33. get
  34. {
  35. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString())
  36. .Where(x => x.Value == FeeTypeID)
  37. .Select(x => x.Name).FirstOrDefault();
  38. }
  39. }
  40. //public
  41. }
  42. }