using Entities.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities.DTO
{
	public class AssignmentQuestionDto
	{
		public Guid Id { get; set; } = Guid.Empty;
		public string Title { get; set; } = string.Empty;
		public QuestionContextDto? Description { get; set; }

		public byte Index { get; set; } = 0;
		public float Score { get; set; } = 0;
		public string Sequence { get; set; } = string.Empty;
		public bool BCorrect { get; set; } = true;

		public Layout Layout { get; set; } = Layout.horizontal;
		public AssignmentStructType StructType { get; set; } = AssignmentStructType.Question;

		public AssignmentQuestionDto? ParentAssignmentQuestion { get; set; }
		public List<AssignmentQuestionDto> ChildrenAssignmentQuestion { get; set; } = new List<AssignmentQuestionDto>();

		public QuestionDto? Question { get; set; }
	}


}
