DTOs docs
This commit is contained in:
parent
fb3320fe18
commit
d692a2e519
8 changed files with 104 additions and 1 deletions
|
|
@ -1,8 +1,20 @@
|
|||
namespace SurveyBackend.DTOs.Question;
|
||||
|
||||
/// <summary>
|
||||
/// Выходная схема вариантов ответа
|
||||
/// </summary>
|
||||
public class OutputAnswerVariantDto
|
||||
{
|
||||
/// <summary>
|
||||
/// ID варианта ответа
|
||||
/// </summary>
|
||||
public required int Id { get; set; }
|
||||
/// <summary>
|
||||
/// ID родительского вопроса
|
||||
/// </summary>
|
||||
public required int QuestionId { get; set; }
|
||||
/// <summary>
|
||||
/// Текст варианта ответа
|
||||
/// </summary>
|
||||
public required string Text { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue