This commit is contained in:
SpecialX
2025-05-30 12:46:55 +08:00
parent 95daf9471b
commit e824c081bf
35 changed files with 1800 additions and 363 deletions

View File

@@ -32,7 +32,7 @@ namespace TechHelper.Client.Exam
[JsonProperty("题号")]
// XML 特性:作为 <QG Id="X"> 属性
[XmlAttribute("Id")]
public string Id { get; set; }
public byte Id { get; set; }
[JsonProperty("标题")]
[XmlElement("T")] // T for Title
@@ -60,9 +60,10 @@ namespace TechHelper.Client.Exam
// 子题目类
public class SubQuestion
{
[JsonProperty("子题号")]
[XmlAttribute("Id")] // Id for SubId
public string SubId { get; set; }
public byte SubId { get; set; }
[JsonProperty("题干")]
[XmlElement("T")] // T for Text (Stem)