DTOs docs
This commit is contained in:
parent
fb3320fe18
commit
d692a2e519
8 changed files with 104 additions and 1 deletions
|
|
@ -1,9 +1,24 @@
|
|||
namespace SurveyBackend.DTOs.Survey;
|
||||
|
||||
/// <summary>
|
||||
/// Выходная схема опроса
|
||||
/// </summary>
|
||||
public class OutputSurveyDto
|
||||
{
|
||||
/// <summary>
|
||||
/// ID опроса
|
||||
/// </summary>
|
||||
public required int Id { get; set; }
|
||||
/// <summary>
|
||||
/// Название опроса
|
||||
/// </summary>
|
||||
public required string Title { get; set; }
|
||||
/// <summary>
|
||||
/// Описание опроса
|
||||
/// </summary>
|
||||
public required string Description { get; set; }
|
||||
/// <summary>
|
||||
/// Создатель опроса (опционально)
|
||||
/// </summary>
|
||||
public int? CreatedBy { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue