StudentFeeDetailView.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.FeeManage
  7. {
  8. public class StudentFeeDetailView
  9. {
  10. public System.Guid ExaminationRegistrationID { get; set; }
  11. public Nullable<Guid> ExaminationTypeID { get; set; }
  12. public string ExaminationTypeName { get; set; }
  13. public Nullable<Guid> ExaminationProjectID { get; set; }
  14. public string ExaminationProjectName { get; set; }
  15. public Nullable<Guid> UserID { get; set; }
  16. /// <summary>
  17. /// 班级
  18. /// </summary>
  19. public Nullable<System.Guid> ClassmajorID { get; set; }
  20. public string ClassmajorName { get; set; }
  21. public string LoginID { get; set; }
  22. public string UserName { get; set; }
  23. public Nullable<int> Sex { get; set; }
  24. public string SexName
  25. {
  26. get
  27. {
  28. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  29. .Where(x => x.Value == Sex)
  30. .Select(x => x.Name).FirstOrDefault();
  31. }
  32. }
  33. public string IDNumber { get; set; }
  34. public Nullable<int> FeeTypeID { get; set; }
  35. public string FeeTypeName
  36. {
  37. get
  38. {
  39. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString())
  40. .Where(x => x.Value == FeeTypeID)
  41. .Select(x => x.Name).FirstOrDefault();
  42. }
  43. }
  44. /// <summary>
  45. /// 金额
  46. /// </summary>
  47. public Nullable<decimal> Fee { get; set; }
  48. }
  49. }