using System.Collections.Generic;
namespace YBEE.EQM.Core;
///
/// 监测抽样配置
///
public class ExamSampleConfig
{
///
/// 抽样百分比
///
public double Percent { get; set; } = 0;
///
/// 开启年级只有一个班控制
///
public bool IsEnabledOnlyOneClassStudentMin { get; set; } = false;
///
/// 年级只有一个班时最少学生数
///
public int OnlyOneClassStudentMin { get; set; } = 0;
///
/// 开启年级多于一个班控制
///
public bool IsEnabledGradeNoSampleStudentMin { get; set; } = false;
///
/// 年级多于一个班时未抽样最少学生数
///
public int GradeNoSampleStudentMin { get; set; } = 0;
///
/// 开启班级最少学生数控制
///
public bool IsEnabledClassStudentMin { get; set; } = false;
///
/// 班级抽样最少学生数
///
public int ClassStudentMin { get; set; } = 0;
///
/// 是否排除特殊学生
///
public bool IsExcludeSpecialStudent { get; set; } = true;
///
/// 是否年级内随机排序
///
public bool IsGradeSeatNumberRandom { get; set; } = false;
///
/// 排除特殊学生必须是审核通过的,否则只要提交上报的就算
///
public bool SpecialStudentMustApproved { get; set; } = false;
///
/// 起始抽样位置
///
public int StartPosition { get; set; } = 1;
///
/// 抽样间距,抽样的两个学生之间隔多少人
///
public int Interval { get; set; } = 2;
///
/// 是否随机抽样
///
public bool IsRandomSampling { get; set; } = false;
///
/// 全抽班级ID列表
///
public List SampleAllSchoolClassIds { get; set; } = [];
///
/// 排除不抽样学校ID列表
///
public List ExcludeSysOrgIds { get; set; } = [];
}