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 int StartPosition { get; set; } = 1;
///
/// 抽样间距,抽样的两个学生之间隔多少人
///
public int Interval { get; set; } = 2;
///
/// 全抽班级ID列表
///
public List SampleAllSchoolClassIds { get; set; } = new();
///
/// 排除不抽样学校ID列表
///
public List ExcludeSysOrgIds { get; set; } = new();
///
/// 监测抽样引用监测计划ID
///
public int? ExamSampleRefExamPlanId { get; set; }
}