ExaminationProjectView.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. namespace EMIS.ViewModel
  8. {
  9. public class ExaminationProjectView
  10. {
  11. public Guid ExaminationProjectID { get; set; }
  12. [Required]
  13. [DisplayName("考试类型")]
  14. public Guid? ExaminationTypeID { get; set; }
  15. [Required]
  16. [DisplayName("考试类型")]
  17. public string ExaminationType { get; set; }
  18. [Required]
  19. [DisplayName("项目名称")]
  20. public string Name { get; set; }
  21. [Required]
  22. [DisplayName("考试级别")]
  23. public int? ExaminationLevelID { get; set; }
  24. [Required]
  25. [DisplayName("发证机关")]
  26. public int? IssuedByID { get; set; }
  27. [Required]
  28. [DisplayName("考试级别")]
  29. public string ExaminationLevelText { get; set; }
  30. [Required]
  31. [DisplayName("发证机关")]
  32. public string IssuedByIDText { get; set; }
  33. [DisplayName("报考限定通过项目")]
  34. public Guid? PreposeProjectID { get; set; }
  35. [DisplayName("构成科目")]
  36. public List<object> ProjectSubjects { get; set; }
  37. [DisplayName("需交资料及注意事项")]
  38. public string Remark { get; set; }
  39. public int? RecordStatus { get; set; }
  40. public HashSet<EMIS.Entities.EX_ExaminationProjectSubject> EX_ExaminationProjectSubject { get; set; }
  41. }
  42. public class ExaminationProjectViewNotSubject
  43. {
  44. public Guid ExaminationProjectID { get; set; }
  45. [Required]
  46. [DisplayName("考试类型")]
  47. public Guid? ExaminationTypeID { get; set; }
  48. [Required]
  49. [DisplayName("考试类型")]
  50. public string ExaminationType { get; set; }
  51. [Required]
  52. [DisplayName("项目名称")]
  53. public string Name { get; set; }
  54. [Required]
  55. [DisplayName("考试级别")]
  56. public int? ExaminationLevelID { get; set; }
  57. [Required]
  58. [DisplayName("发证机关")]
  59. public int? IssuedByID { get; set; }
  60. [Required]
  61. [DisplayName("考试级别")]
  62. public string ExaminationLevelText { get; set; }
  63. [Required]
  64. [DisplayName("发证机关")]
  65. public string IssuedByIDText { get; set; }
  66. [DisplayName("报考限定通过项目")]
  67. public Guid? PreposeProjectID { get; set; }
  68. [DisplayName("构成科目")]
  69. public List<object> ProjectSubjects { get; set; }
  70. [DisplayName("需交资料及注意事项")]
  71. public string Remark { get; set; }
  72. public int? RecordStatus { get; set; }
  73. }
  74. }