CourseworkAddView.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. namespace EMISOnline.ViewModel.Coursework
  8. {
  9. public class CourseworkAddView
  10. {
  11. public CourseworkAddView()
  12. {
  13. PaperData = new Dictionary<string, object>();
  14. }
  15. public decimal id { get; set; }
  16. public Nullable<decimal> test_paper_id { get; set; }
  17. /// <summary>
  18. /// 试卷名称
  19. /// </summary>
  20. [Required]
  21. [DisplayName("试卷名称")]
  22. public string test_paper_name { get; set; }
  23. public string status { get; set; }
  24. public string CoursematerialName { get; set; }
  25. /// <summary>
  26. /// 所属课程
  27. /// </summary>
  28. [Required]
  29. [DisplayName("所属课程")]
  30. public Guid EducationMissionClassID { get; set; }
  31. /// <summary>
  32. /// 作业名称
  33. /// </summary>
  34. [Required]
  35. [DisplayName("作业名称")]
  36. public string WorkName { get; set; }
  37. [DisplayName("有效时间")]
  38. public string examtip { get; set; }
  39. /// <summary>
  40. /// test_begin_date
  41. /// </summary>
  42. public Nullable<System.DateTime> test_begin_date { get; set; }
  43. /// <summary>
  44. /// test_end_date
  45. /// </summary>
  46. public Nullable<System.DateTime> test_end_date { get; set; }
  47. /// <summary>
  48. /// ModityContent
  49. /// </summary>
  50. [DisplayName("作业说明")]
  51. public string ModityContent { get; set; }
  52. public Dictionary<string, object> PaperData { get; set; }
  53. }
  54. }