fix : Q_id -> Id / Q_Content -> Content

Multiplayer_Php
Yvan CALATAYUD 1 year ago
parent 13f68738c5
commit 756cd07091

@ -1,12 +1,22 @@
namespace Blazor.ViewClasses; using System.Text.Json.Serialization;
namespace Blazor.ViewClasses;
public class Question public class Question
{ {
public int Q_id { get; set; } [JsonPropertyName("q_id")]
public string Q_content { get; set; } public int Id { get; set; }
public int IdChapter { get; set; }
public int IdAnswerGood { get; set; } [JsonPropertyName("q_content")]
public string Content { get; set; }
public int Difficulty { get; set; } public int Difficulty { get; set; }
public int nbFails { get; set; } public int nbFails { get; set; }
public int IdChapter { get; set; }
public string ChapterName { get; set; }
public int IdAnswerGood { get; set; }
public int A_id { get; set; }
public string A_content { get; set; }
} }

Loading…
Cancel
Save