RetakeConditionPageView.cs 962 B

1234567891011121314151617181920212223242526272829303132
  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.RetakeManage
  8. {
  9. public class RetakeConditionPageView
  10. {
  11. /// <summary>
  12. /// 条件标题
  13. /// </summary>
  14. [DisplayName("条件标题")]
  15. public string NoPassConditionTitle { get; set; }
  16. /// <summary>
  17. /// 最小不及格门数(大于等于)
  18. /// </summary>
  19. [DisplayName("最小不及格数")]
  20. [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入数字")]
  21. public int MinNoPassCount { get; set; }
  22. /// <summary>
  23. /// 最大不及格门数(小于等于)
  24. /// </summary>
  25. [DisplayName("最大不及格数")]
  26. [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入数字")]
  27. public int MaxNoPassCount { get; set; }
  28. }
  29. }