using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace EMIS.ViewModel.SelectCourse { public class SelectCourseTypeSettingView { /// /// 类型设定ID /// [DisplayName("类型设定ID")] public System.Guid SelectCourseTypeSettingID { get; set; } /// /// 学年学期 /// [Required] [DisplayName("学年学期")] public Nullable SchoolyearID { get; set; } /// /// 学年学期 /// public string SchoolyearCode { get; set; } /// /// 选修类型 /// [Required] [DisplayName("选修类型")] public Nullable SelectCourseTypeID { get; set; } /// /// 选修类型 /// public string SelectCourseTypeDesc { get; set; } /// /// 开始时间 /// [Required] [DisplayName("开始时间")] public Nullable StartTime { get; set; } /// /// 结束时间 /// [Required] [DisplayName("结束时间")] public Nullable EndTime { get; set; } /// /// 门数下限 /// [Required] [DisplayName("门数下限")] [RegularExpression(@"^[0-9]\d*$", ErrorMessage = "必须填写正整数")] public int? MinSelectCount { get; set; } /// /// 门数上限 /// [Required] [DisplayName("门数上限")] [RegularExpression(@"^[0-9]\d*$", ErrorMessage = "必须填写正整数")] public int? MaxSelectCount { get; set; } /// /// 学分下限 /// [Required] [DisplayName("学分下限")] public Nullable MinCredit { get; set; } /// /// 学分上限 /// [Required] [DisplayName("学分上限")] public Nullable MaxCredit { get; set; } /// /// 备注 /// [DisplayName("备注")] public string Remark { get; set; } /// /// RecordStatus /// public Nullable RecordStatus { get; set; } /// /// 是否可用 /// public string RecordStatusDesc { get; set; } /// /// CreateTime /// public Nullable CreateTime { get; set; } /// /// CreateUserID /// public Nullable CreateUserID { get; set; } /// /// ModifyUserID /// public Nullable ModifyUserID { get; set; } /// /// ModifyTime /// public Nullable ModifyTime { get; set; } } }