using Exam.Infrastructure.Data.Entity;
using Exam.Infrastructure.Data.Interface;
using Hotline.Share.Enums.Exams;
using System.ComponentModel;
namespace Exam.Share
{
///
/// 考试管理
///
[Description("考试管理")]
public class ExamManageDto:UpdateExamManageDto
{
///
/// 题型分数
///
[Description("题型分数")]
public new List ExamQuestionScoreDtos { get; set; }
///
/// 参考人员
///
[Description("参考人员")]
public new List UserExamDtos { get; set; }
}
///
/// 考试管理
///
[Description("考试管理")]
public class AddExamManageDto : IAddRequest
{
///
/// 考试标题
///
[Description("考试标题")]
public string Name { get; set; }
///
/// 考试编号
///
[Description("考试编号")]
public string Code { get; set; }
///
/// 考试类型
///
[Description("考试类型")]
public EExamType ExamType { get; set; }
///
/// 组卷方式
///
[Description("组卷方式")]
public EExamMode Mode { get; set; }
///
/// 考核方式
///
[Description("考核方式")]
public EMethod Method { get; set; }
///
/// 试卷Id
///
[Description("试卷Id")]
public string TestPaperId { get; set; }
///
/// 可考次数
///
[Description("可考次数")]
public int Count { get; set; }
///
/// 考试时长
///
[Description("考试时长")]
public int TimeSpan { get; set; }
///
/// 开始时间
///
[Description("开始时间")]
public DateTime StartTime { get; set; }
///
/// 结束时间
///
[Description("结束时间")]
public DateTime EndTime { get; set; }
///
/// 试题顺序
///
[Description("试题顺序")]
public int QuestionSort { get; set; }
///
/// 选项顺序
///
[Description("选项顺序")]
public int OptionSort { get; set; }
///
/// 备注
///
[Description("备注")]
public string Remark { get; set; }
///
/// 分数线
///
[Description("分数线")]
public int CutoffScore { get; set; }
///
/// 总分
///
[Description("总分")]
public int TotalScore { get; set; }
///
/// 题型分数
///
[Description("题型分数")]
public List ExamQuestionScoreDtos { get; set; }
///
/// 参考人员
///
[Description("参考人员")]
public List UserExamDtos { get; set; }
}
///
/// 考试管理
///
[Description("考试管理")]
public class UpdateExamManageDto : AddExamManageDto, IActionRequest
{
///
/// 主键
///
[Description("主键")]
public string Id { get; set; }
///
/// 题型分数
///
[Description("题型分数")]
public new List ExamQuestionScoreDtos { get; set; }
///
/// 参考人员
///
[Description("参考人员")]
public new List UserExamDtos { get; set; }
}
}