exam_service
This commit is contained in:
@@ -3,31 +3,33 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Entities.DTO
|
||||
{
|
||||
public class ExamDto
|
||||
{
|
||||
public Guid? AssignmentId { get; set; }
|
||||
public string CreaterEmail { get; set; }
|
||||
public string AssignmentTitle { get; set; } = string.Empty;
|
||||
public string Description { get; set; }
|
||||
public string SubjectArea { get; set; }
|
||||
public List<QuestionGroupDto> QuestionGroups { get; set; } = new List<QuestionGroupDto>();
|
||||
public QuestionGroupDto QuestionGroups { get; set; } = new QuestionGroupDto();
|
||||
}
|
||||
|
||||
public class QuestionGroupDto
|
||||
{
|
||||
public int Index { get; set; }
|
||||
public byte Index { get; set; }
|
||||
|
||||
public string Title { get; set; }
|
||||
public string? Title { get; set; }
|
||||
|
||||
public int Score { get; set; }
|
||||
|
||||
public string QuestionReference { get; set; }
|
||||
public float Score { get; set; }
|
||||
|
||||
public string? Descript { get; set; }
|
||||
public List<SubQuestionDto> SubQuestions { get; set; } = new List<SubQuestionDto>();
|
||||
|
||||
public List<QuestionGroupDto> SubQuestionGroups { get; set; } = new List<QuestionGroupDto>();
|
||||
public bool ValidQuestionGroup { get; set; } = false;
|
||||
}
|
||||
|
||||
public class SubQuestionDto
|
||||
@@ -35,16 +37,17 @@ namespace Entities.DTO
|
||||
|
||||
public byte Index { get; set; }
|
||||
|
||||
public string Stem { get; set; }
|
||||
public string? Stem { get; set; }
|
||||
|
||||
public float Score { get; set; }
|
||||
|
||||
public List<OptionDto> Options { get; set; } = new List<OptionDto>();
|
||||
|
||||
public string SampleAnswer { get; set; }
|
||||
public string? SampleAnswer { get; set; }
|
||||
|
||||
public string QuestionType { get; set; }
|
||||
public string DifficultyLevel { get; set; }
|
||||
public string? QuestionType { get; set; }
|
||||
public string? DifficultyLevel { get; set; }
|
||||
public bool ValidQuestion { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user