Files
survey-beta/survey-beta/DTOs/Default/SurveyDto.cs
m.bengashier 77fc9dfd92 PATCH :
removed the authored surveys property
removed the responses property
removed CreateAnswerDto&AnswerDto
2025-01-26 13:28:40 +02:00

15 lines
456 B
C#

namespace survey_beta.DTOs.Default
{
public class SurveyDto
{
public string Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Category { get; set; }
public DateTime ExpirationDate { get; set; }
public bool IsPublished { get; set; }
public string AuthorId { get; set; }
public List<QuestionDto> Questions { get; set; }
}
}