1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace EMIS.ViewModel.RetakeManage
- {
- public class RetakeConditionPageView
- {
- /// <summary>
- /// 条件标题
- /// </summary>
- [DisplayName("条件标题")]
- public string NoPassConditionTitle { get; set; }
- /// <summary>
- /// 最小不及格门数(大于等于)
- /// </summary>
- [DisplayName("最小不及格数")]
- [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入数字")]
- public int MinNoPassCount { get; set; }
- /// <summary>
- /// 最大不及格门数(小于等于)
- /// </summary>
- [DisplayName("最大不及格数")]
- [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入数字")]
- public int MaxNoPassCount { get; set; }
- }
- }
|