survey-webapp/SurveyBackend/SurveyBackend.API/DTOs/Question/CreateQuestionDTO.cs
2025-04-27 16:03:56 +05:00

21 lines
No EOL
594 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace SurveyBackend.DTOs.Question;
/// <summary>
/// Схема для создания нового Question
/// </summary>
public class CreateQuestionDto
{
/// <summary>
/// Название вопроса
/// </summary>
public required string Title { get; set; }
/// <summary>
/// Тип вопроса
/// </summary>
public required string QuestionType { get; set; }
/// <summary>
/// Варианты ответа (только если вопрос с выбором)
/// </summary>
public List<string>? AnswerVariants { get; set; }
}