using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 添加试卷小题输入参数 /// public class AddExamPaperQuestionMinorInput { /// /// 双向细目表头ID /// [Required] public int ExamPaperId { get; set; } /// /// 题型类别 /// public QuestionCatalog? QuestionCatalog { get; set; } /// /// 大题ID /// public int? ExamPaperQuestionMajorId { get; set; } /// /// 顺序 /// [Required] public int Sequence { get; set; } = 0; /// /// 成绩文件列名 /// [Required, StringLength(100)] public string ColumnName { get; set; } /// /// 小题 /// [Required, StringLength(100)] public string Name { get; set; } /// /// 分值 /// [Required] public decimal Score { get; set; } = 0; /// /// 知识模块 /// [StringLength(200)] public string KnowledgeModule { get; set; } /// /// 知识点 /// [StringLength(200)] public string KnowledgePoint { get; set; } /// /// 认知能力 /// public CognitiveAbility? CognitiveAbility { get; set; } /// /// 预估难度 /// public decimal EstimatedDifficulty { get; set; } = 0; /// /// 是否选做 /// [Required] public bool IsChoose { get; set; } = false; /// /// 是否最小计分项 /// [Required] public bool IsLeaf { get; set; } = true; } /// /// 更新试卷小题输入参数 /// public class UpdateExamPaperQuestionMinorInput : AddExamPaperQuestionMinorInput { /// /// 主键 /// [Required] public int Id { get; set; } } /// /// 批量更新小题输入参数 /// public class BatchUpdateExamPaperQuestionMinorInput { /// /// 小题ID列表 /// [Required] public List Ids { get; set;} /// /// 大题ID /// public int? ExamPaperQuestionMajorId { get; set; } /// /// 分值 /// [Required] public decimal Score { get; set; } = 0; /// /// 题型类别 /// public QuestionCatalog? QuestionCatalog { get; set; } }