28 lines
827 B
C#
28 lines
827 B
C#
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 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; }
|
|
}
|
|
}
|