53 lines
828 B
C#
53 lines
828 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Utils;
|
|
|
|
namespace Core.Models.Eft.Game;
|
|
|
|
public record SendSurveyOpinionRequest : IRequestData
|
|
{
|
|
[JsonPropertyName("resultJson")]
|
|
public string? ResultJson
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("surveyId")]
|
|
public int? SurveyId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("answers")]
|
|
public List<SurveyOpinionAnswer>? Answers
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record SurveyOpinionAnswer
|
|
{
|
|
[JsonPropertyName("questionId")]
|
|
public int? QuestionId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("answerType")]
|
|
public string? AnswerType
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("answers")]
|
|
public object? Answers
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|