i'm sorry guys it's stupid commit...
This commit is contained in:
parent
77cfacb95e
commit
4b4739ce89
13 changed files with 174 additions and 1 deletions
|
|
@ -0,0 +1,7 @@
|
|||
namespace SurveyBackend.DTOs.Answer;
|
||||
|
||||
public class AnswerCreateDto
|
||||
{
|
||||
public int QuestionId { get; set; }
|
||||
public required string AnswerText { get; set; }
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
namespace SurveyBackend.DTOs.Answer;
|
||||
|
||||
public class AnswerOutputDto
|
||||
{
|
||||
public int QuestionId { get; set; }
|
||||
public int CompletionId { get; set; }
|
||||
public required string AnswerText { get; set; }
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
using SurveyBackend.DTOs.Answer;
|
||||
|
||||
namespace SurveyBackend.DTOs.Completion;
|
||||
|
||||
public class CompletionCreateDto
|
||||
{
|
||||
public List<AnswerCreateDto> Answers { get; set; }
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
using SurveyBackend.DTOs.Answer;
|
||||
|
||||
namespace SurveyBackend.DTOs.Completion;
|
||||
|
||||
public class CompletionOutputDto
|
||||
{
|
||||
public int? CompletedBy { get; set; }
|
||||
public DateTime FinishedAt { get; set; }
|
||||
public List<AnswerOutputDto> Answers { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue