ExamBatchProjectView.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 ExamBatchProjectView
  10. {
  11. [Required]
  12. [DisplayName("考试批次")]
  13. public System.Guid ExaminationBatchID { get; set; }
  14. public string Schoolyear { get; set; }
  15. [Required]
  16. [DisplayName("学年学期")]
  17. public Nullable<System.Guid> SchoolyearID { get; set; }
  18. [Required]
  19. [DisplayName("考试批次")]
  20. public string BatchName { get; set; }
  21. [Required]
  22. [DisplayName("考试名称")]
  23. public string Name { get; set; }
  24. [Required]
  25. [DisplayName("报名时间起")]
  26. public Nullable<System.DateTime> StartDate { get; set; }
  27. [Required]
  28. [DisplayName("报名时间止")]
  29. public Nullable<System.DateTime> EndDate { get; set; }
  30. [DisplayName("需提交资料及注意事项")]
  31. public string Remark { get; set; }
  32. public Guid? ExaminationProjectID { get; set; }
  33. [Required]
  34. [DisplayName("预考试时间")]
  35. public string SimulateTime { get; set; }
  36. [Required]
  37. [DisplayName("培训情况")]
  38. public string Training { get; set; }
  39. [Required]
  40. [DisplayName("预开课时间")]
  41. public string TakeCourseTime { get; set; }
  42. [Required]
  43. [DisplayName("最大报名人数")]
  44. [RegularExpression(@"^[0-9.]+$", ErrorMessage = "请输入数字")]
  45. public int? MaxRegistCount { get; set; }
  46. public string ExaminationType { get; set; }
  47. public System.Guid ExaminationBatchProjectID { get; set; }
  48. public System.Guid? ExaminationTypeID { get; set; }
  49. public Guid? SchoolYearCode { get; set; }
  50. public int? RecordStatus { get; set; }
  51. }
  52. }