ScoreConvertByReplaceView.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.CacheManage;
  8. namespace EMIS.ViewModel.ScoreManage
  9. {
  10. public class ScoreConvertByReplaceView
  11. {
  12. public System.Guid ScoreConvertByReplaceID { get; set; }
  13. [DisplayName("学年学期")]
  14. public Nullable<System.Guid> SchoolyearID { get; set; }
  15. public string SchoolyearCode { get; set; }
  16. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
  17. public Nullable<System.Guid> CollegeID { get; set; }
  18. public string CollegeNo { get; set; }
  19. public string CollegeName { get; set; }
  20. [DisplayName("年级")]
  21. public Nullable<int> YearID { get; set; }
  22. [DisplayName("专业")]
  23. public Nullable<int> StandardID { get; set; }
  24. public string StandardDesc
  25. {
  26. get
  27. {
  28. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
  29. .Where(x => x.Value == StandardID)
  30. .Select(x => x.Name).FirstOrDefault();
  31. }
  32. }
  33. [DisplayName("班级")]
  34. public Nullable<Guid> ClassmajorID { get; set; }
  35. public string ClassmajorNo { get; set; }
  36. public string ClassmajorName { get; set; }
  37. [DisplayName("学号/姓名")]
  38. [Required]
  39. public Nullable<System.Guid> UserID { get; set; }
  40. public string LoginID { get; set; }
  41. public string Name { get; set; }
  42. [DisplayName("已通过课程")]
  43. public Nullable<System.Guid> SourceCoursematerialID { get; set; }
  44. public string SourceCourseCode { get; set; }
  45. public string SourceCourseName { get; set; }
  46. [DisplayName("总成绩")]
  47. public Nullable<decimal> TotalScore { get; set; }
  48. [DisplayName("替换课程")]
  49. public Nullable<System.Guid> TargetCoursematerialID { get; set; }
  50. public string TargetCourseCode { get; set; }
  51. public string TargetCourseName { get; set; }
  52. [DisplayName("原因")]
  53. public string Reason { get; set; }
  54. public Nullable<int> RecordStatus { get; set; }
  55. public string RecordStatusDesc { get; set; }
  56. }
  57. }