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