DTOs docs

This commit is contained in:
Вячеслав 2025-04-27 16:03:56 +05:00
parent fb3320fe18
commit d692a2e519
8 changed files with 104 additions and 1 deletions

View file

@ -1,7 +1,16 @@
namespace SurveyBackend.DTOs.Survey;
/// <summary>
/// Схема для создания нового опроса
/// </summary>
public class CreateSurveyDto
{
/// <summary>
/// Название опроса
/// </summary>
public required string Title { get; set; }
/// <summary>
/// Опциональное описание опроса
/// </summary>
public string Description { get; set; } = string.Empty;
}