struct&&assiQues
This commit is contained in:
25
Entities/DTO/AssignmentQuestionDto.cs
Normal file
25
Entities/DTO/AssignmentQuestionDto.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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 float Score { get; set; } = 0;
|
||||
public byte Index { get; set; } = 0;
|
||||
public QuestionGroupState GroupState { get; set; } = QuestionGroupState.Standalone;
|
||||
|
||||
|
||||
|
||||
public AssignmentQuestionDto? ParentAssignmentQuestion { get; set; }
|
||||
public ICollection<AssignmentQuestionDto> ChildrenAssignmentQuestion { get; set; } = new List<AssignmentQuestionDto>();
|
||||
|
||||
|
||||
|
||||
public QuestionDto Question { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user