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 { /// /// 条件标题 /// [DisplayName("条件标题")] public string NoPassConditionTitle { get; set; } /// /// 最小不及格门数(大于等于) /// [DisplayName("最小不及格数")] [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入数字")] public int MinNoPassCount { get; set; } /// /// 最大不及格门数(小于等于) /// [DisplayName("最大不及格数")] [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入数字")] public int MaxNoPassCount { get; set; } } }