using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace EMIS.ViewModel.EvaluationManage { public class EvaluationControlView { /// /// 主键ID /// [DisplayName("主键ID")] public Guid? ControlID { get; set; } /// /// 学年学期 /// [Required] [DisplayName("学年学期")] public Guid? SchoolyearID { get; set; } /// /// 学年学期 /// [DisplayName("学年学期")] public string SchoolyearCode { get; set; } /// /// 是否成绩控制 /// [Required] [DisplayName("是否成绩控制")] public bool IsResult { get; set; } /// /// 是否成绩控制提示语 /// [DisplayName("提示语")] public string Result { get; set; } [DisplayName("是否显示")] public string IsResultDisplay { get; set; } /// /// 是否网上选课控制 /// [Required] [DisplayName("是否网上选课控制")] public bool IsCourse { get; set; } /// /// 是否网上选课控制提示语 /// [DisplayName("提示语")] public string Course { get; set; } [DisplayName("是否显示")] public string IsCourseDisplay { get; set; } /// /// 是否等级成绩控制 /// [Required] [DisplayName("是否等级成绩控制")] public bool IsStudentLevelScore { get; set; } /// /// 是否等级成绩控制提示语 /// [DisplayName("提示语")] public string StudentLevelScore { get; set; } [DisplayName("是否显示")] public string IsStudentLevelScoreDisplay { get; set; } /// /// 是否考试报名控制 /// [Required] [DisplayName("是否考试报名控制")] public bool IsStudentExaminationApply { get; set; } /// /// 是否考试报名控制提示语 /// [DisplayName("提示语")] public string StudentExaminationApply { get; set; } [DisplayName("是否显示")] public string IsStudentExaminationApplyDisplay { get; set; } [Required] [DisplayName("允许不评价门数")] [RegularExpression(@"^[1-9]\d*|0$", ErrorMessage = "请输入自然数,0表示全评")] public Nullable AllowNotEvaluationCount { get; set; } /// /// 创建人 /// [DisplayName("创建人")] public Guid? CreateUserID { get; set; } /// /// 创建时间 /// [DisplayName("创建时间")] public DateTime? CreateTime { get; set; } /// /// 更新人 /// [DisplayName("更新人")] public Guid? ModifyUserID { get; set; } /// /// 更新时间 /// [DisplayName("更新时间")] public DateTime? ModifyTime { get; set; } } }