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
- {
-
-
-
- [DisplayName("任务班ID")]
- public Guid? EducationMissionClassID { get; set; }
-
-
-
- [DisplayName("班级名称")]
- public string ClassName { get; set; }
-
-
-
- [DisplayName("学生总数")]
- public int? StudentTotalNum { get; set; }
-
-
-
- [DisplayName("按平均人数进行分班")]
- public bool IsAverageStudent { get; set; }
-
-
-
- [DisplayName("按班数平均分配")]
- public bool IsGroup { get; set; }
-
-
-
- [DisplayName("平均每班学生人数")]
- [RegularExpression(@"^[0-9]*$", ErrorMessage = "请输整数")]
- public int? StudentNum { get; set; }
-
-
-
- [DisplayName("组数")]
- [RegularExpression(@"^[0-9]*$", ErrorMessage = "请输整数")]
- public int? GroupNum { get; set; }
-
-
-
- [DisplayName("排序方式")]
- public bool OrderType { get; set; }
-
-
-
- [DisplayName("成绩合并录入")]
- public bool IsNotBuildEducationMission { get; set; }
-
-
-
- [DisplayName("备注")]
- public string Remark { get; set; }
- }
- }
|