EvaluationControlView.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 EMIS.ViewModel.EvaluationManage
  8. {
  9. public class EvaluationControlView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? ControlID { get; set; }
  16. /// <summary>
  17. /// 学年学期
  18. /// </summary>
  19. [Required]
  20. [DisplayName("学年学期")]
  21. public Guid? SchoolyearID { get; set; }
  22. /// <summary>
  23. /// 学年学期
  24. /// </summary>
  25. [DisplayName("学年学期")]
  26. public string SchoolyearCode { get; set; }
  27. /// <summary>
  28. /// 是否成绩控制
  29. /// </summary>
  30. [Required]
  31. [DisplayName("是否成绩控制")]
  32. public bool IsResult { get; set; }
  33. /// <summary>
  34. /// 是否成绩控制提示语
  35. /// </summary>
  36. [DisplayName("提示语")]
  37. public string Result { get; set; }
  38. [DisplayName("是否显示")]
  39. public string IsResultDisplay { get; set; }
  40. /// <summary>
  41. /// 是否网上选课控制
  42. /// </summary>
  43. [Required]
  44. [DisplayName("是否网上选课控制")]
  45. public bool IsCourse { get; set; }
  46. /// <summary>
  47. /// 是否网上选课控制提示语
  48. /// </summary>
  49. [DisplayName("提示语")]
  50. public string Course { get; set; }
  51. [DisplayName("是否显示")]
  52. public string IsCourseDisplay { get; set; }
  53. /// <summary>
  54. /// 是否等级成绩控制
  55. /// </summary>
  56. [Required]
  57. [DisplayName("是否等级成绩控制")]
  58. public bool IsStudentLevelScore { get; set; }
  59. /// <summary>
  60. /// 是否等级成绩控制提示语
  61. /// </summary>
  62. [DisplayName("提示语")]
  63. public string StudentLevelScore { get; set; }
  64. [DisplayName("是否显示")]
  65. public string IsStudentLevelScoreDisplay { get; set; }
  66. /// <summary>
  67. /// 是否考试报名控制
  68. /// </summary>
  69. [Required]
  70. [DisplayName("是否考试报名控制")]
  71. public bool IsStudentExaminationApply { get; set; }
  72. /// <summary>
  73. /// 是否考试报名控制提示语
  74. /// </summary>
  75. [DisplayName("提示语")]
  76. public string StudentExaminationApply { get; set; }
  77. [DisplayName("是否显示")]
  78. public string IsStudentExaminationApplyDisplay { get; set; }
  79. [Required]
  80. [DisplayName("允许不评价门数")]
  81. [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入自然数,0表示全评")]
  82. public Nullable<int> AllowNotEvaluationCount { get; set; }
  83. /// <summary>
  84. /// 创建人
  85. /// </summary>
  86. [DisplayName("创建人")]
  87. public Guid? CreateUserID { get; set; }
  88. /// <summary>
  89. /// 创建时间
  90. /// </summary>
  91. [DisplayName("创建时间")]
  92. public DateTime? CreateTime { get; set; }
  93. /// <summary>
  94. /// 更新人
  95. /// </summary>
  96. [DisplayName("更新人")]
  97. public Guid? ModifyUserID { get; set; }
  98. /// <summary>
  99. /// 更新时间
  100. /// </summary>
  101. [DisplayName("更新时间")]
  102. public DateTime? ModifyTime { get; set; }
  103. }
  104. }