12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace EMIS.ViewModel.RetakeManage
- {
- /// <summary>
- /// 排序方式
- /// </summary>
- public enum DivideClassOrderType
- {
- /// <summary>
- /// 学号
- /// </summary>
- ByStudentLoginID = 0,
- /// <summary>
- /// 班级
- /// </summary>
- ByClassmajor = 1
- }
- public class RetakeDivideIntoClassesView
- {
- /// <summary>
- /// 重修计划ID
- /// </summary>
- [DisplayName("重修计划ID")]
- public Guid? RetakePlanID { get; set; }
- /// <summary>
- /// 重修班级名称
- /// </summary>
- [Required]
- [DisplayName("重修班级名称")]
- public string ClassName { get; set; }
- /// <summary>
- /// 计划人数
- /// </summary>
- [Required]
- [DisplayName("计划人数")]
- public int? StudentTotalNum { get; set; }
- /// <summary>
- /// 平均人数
- /// </summary>
- [DisplayName("平均人数")]
- public bool IsAverageStudent { get; set; }
- /// <summary>
- /// 任务班数
- /// </summary>
- [DisplayName("任务班数")]
- public bool IsGroup { get; set; }
- /// <summary>
- /// 每班人数
- /// </summary>
- [Required]
- [DisplayName("每班人数")]
- [RegularExpression(@"^[0-9]*$", ErrorMessage = "请输入整数")]
- public int? StudentNum { get; set; }
- /// <summary>
- /// 任务班数
- /// </summary>
- [Required]
- [DisplayName("任务班数")]
- [RegularExpression(@"^[0-9]*$", ErrorMessage = "请输入整数")]
- public int? GroupNum { get; set; }
- /// <summary>
- /// 按学号顺序进行分组
- /// </summary>
- [DisplayName("排序方式")]
- public bool OrderType { get; set; }
- /// <summary>
- /// 成绩合并录入
- /// </summary>
- [DisplayName("成绩合并录入")]
- public bool IsNotBuildEducationMission { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("备注")]
- public string Remark { get; set; }
- }
- }
|