using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace EMIS.ViewModel { public class ExamBatchProjectView { [Required] [DisplayName("考试批次")] public System.Guid ExaminationBatchID { get; set; } public string Schoolyear { get; set; } [Required] [DisplayName("学年学期")] public Nullable SchoolyearID { get; set; } [Required] [DisplayName("考试批次")] public string BatchName { get; set; } [Required] [DisplayName("考试名称")] public string Name { get; set; } [Required] [DisplayName("报名时间起")] public Nullable StartDate { get; set; } [Required] [DisplayName("报名时间止")] public Nullable EndDate { get; set; } [DisplayName("需提交资料及注意事项")] public string Remark { get; set; } public Guid? ExaminationProjectID { get; set; } [Required] [DisplayName("预考试时间")] public string SimulateTime { get; set; } [Required] [DisplayName("培训情况")] public string Training { get; set; } [Required] [DisplayName("预开课时间")] public string TakeCourseTime { get; set; } [Required] [DisplayName("最大报名人数")] [RegularExpression(@"^[0-9.]+$", ErrorMessage = "请输入数字")] public int? MaxRegistCount { get; set; } public string ExaminationType { get; set; } public System.Guid ExaminationBatchProjectID { get; set; } public System.Guid? ExaminationTypeID { get; set; } public Guid? SchoolYearCode { get; set; } public int? RecordStatus { get; set; } } }