1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace EMIS.ViewModel.EducationManage
- {
- public enum DivideClassOrderType
- {
- ByStudentLoginID = 0,
- ByClassmajor = 1
- }
- public class DivideIntoClassesView
- {
- /// <summary>
- /// 任务班ID
- /// </summary>
- [DisplayName("任务班ID")]
- public Guid? EducationMissionClassID { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [DisplayName("班级名称")]
- public string ClassName { get; set; }
- /// <summary>
- /// 学生总数
- /// </summary>
- [DisplayName("学生总数")]
- public int? StudentTotalNum { get; set; }
- /// <summary>
- /// 按平均人数进行分班
- /// </summary>
- [DisplayName("按平均人数进行分班")]
- public bool IsAverageStudent { get; set; }
- /// <summary>
- /// 按班数平均分配
- /// </summary>
- [DisplayName("按班数平均分配")]
- public bool IsGroup { get; set; }
- /// <summary>
- /// 平均每班学生人数
- /// </summary>
- [DisplayName("平均每班学生人数")]
- [RegularExpression(@"^[0-9]*$", ErrorMessage = "请输整数")]
- public int? StudentNum { get; set; }
- /// <summary>
- /// 组数
- /// </summary>
- [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; }
- }
- }
|