EvaluationControlView.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. namespace EMIS.ViewModel.EvaluationManage.EvaluationSetting
  8. {
  9. public class EvaluationControlView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid EvaluationControlID { get; set; }
  16. /// <summary>
  17. /// 评价学年学期ID
  18. /// </summary>
  19. [Required]
  20. [DisplayName("评价学年学期ID")]
  21. public Guid? SchoolyearID { get; set; }
  22. /// <summary>
  23. /// 评价学年学期对应的Value值
  24. /// </summary>
  25. [DisplayName("SchoolyearValue")]
  26. public int? SchoolyearValue { get; set; }
  27. /// <summary>
  28. /// 评价学年学期
  29. /// </summary>
  30. [DisplayName("评价学年学期")]
  31. public string SchoolyearCode { get; set; }
  32. /// <summary>
  33. /// 登录控制
  34. /// </summary>
  35. [DisplayName("登录控制")]
  36. public bool IsLoginLock { get; set; }
  37. /// <summary>
  38. /// 提示语(登录控制)
  39. /// </summary>
  40. [DisplayName("提示语")]
  41. public string LoginLockMessage { get; set; }
  42. /// <summary>
  43. /// 是否显示(登录控制)
  44. /// </summary>
  45. [DisplayName("是否显示")]
  46. public string IsLoginLockDisplay { get; set; }
  47. /// <summary>
  48. /// 网上选课控制
  49. /// </summary>
  50. [DisplayName("网上选课控制")]
  51. public bool IsSelectCourseLock { get; set; }
  52. /// <summary>
  53. /// 提示语(网上选课控制)
  54. /// </summary>
  55. [DisplayName("提示语")]
  56. public string SelectCourseLockMessage { get; set; }
  57. /// <summary>
  58. /// 是否显示(网上选课控制)
  59. /// </summary>
  60. [DisplayName("是否显示")]
  61. public string IsSelectCourseLockDisplay { get; set; }
  62. /// <summary>
  63. /// 考试报名控制
  64. /// </summary>
  65. [DisplayName("考试报名控制")]
  66. public bool IsExaminationApplyLock { get; set; }
  67. /// <summary>
  68. /// 提示语(考试报名控制)
  69. /// </summary>
  70. [DisplayName("提示语")]
  71. public string ExaminationApplyLockMessage { get; set; }
  72. /// <summary>
  73. /// 是否显示(考试报名控制)
  74. /// </summary>
  75. [DisplayName("是否显示")]
  76. public string IsExaminationApplyLockDisplay { get; set; }
  77. /// <summary>
  78. /// 课程成绩查询控制
  79. /// </summary>
  80. [DisplayName("课程成绩查询控制")]
  81. public bool IsCourseScoreLock { get; set; }
  82. /// <summary>
  83. /// 提示语(课程成绩查询控制)
  84. /// </summary>
  85. [DisplayName("提示语")]
  86. public string CourseScoreLockMessage { get; set; }
  87. /// <summary>
  88. /// 是否显示(课程成绩查询控制)
  89. /// </summary>
  90. [DisplayName("是否显示")]
  91. public string IsCourseScoreLockDisplay { get; set; }
  92. /// <summary>
  93. /// 等级成绩查询控制
  94. /// </summary>
  95. [DisplayName("等级成绩查询控制")]
  96. public bool IsLevelScoreLock { get; set; }
  97. /// <summary>
  98. /// 提示语(等级成绩查询控制)
  99. /// </summary>
  100. [DisplayName("提示语")]
  101. public string LevelScoreLockMessage { get; set; }
  102. /// <summary>
  103. /// 是否显示(等级成绩查询控制)
  104. /// </summary>
  105. [DisplayName("是否显示")]
  106. public string IsLevelScoreLockDisplay { get; set; }
  107. /// <summary>
  108. /// 允许不评价门数
  109. /// </summary>
  110. [Required]
  111. [DisplayName("允许不评价门数")]
  112. [RegularExpression(@"^\d+$", ErrorMessage = "请输入非负整数")]
  113. public int? NoNumber { get; set; }
  114. /// <summary>
  115. /// 状态
  116. /// </summary>
  117. [DisplayName("状态")]
  118. public int? RecordStatus { get; set; }
  119. /// <summary>
  120. /// 创建人
  121. /// </summary>
  122. [DisplayName("创建人")]
  123. public Guid? CreateUserID { get; set; }
  124. /// <summary>
  125. /// 创建时间
  126. /// </summary>
  127. [DisplayName("创建时间")]
  128. public DateTime? CreateTime { get; set; }
  129. /// <summary>
  130. /// 修改人
  131. /// </summary>
  132. [DisplayName("修改人")]
  133. public Guid? ModifyUserID { get; set; }
  134. /// <summary>
  135. /// 修改时间
  136. /// </summary>
  137. [DisplayName("修改时间")]
  138. public DateTime? ModifyTime { get; set; }
  139. }
  140. }