diff --git a/Tiobon.Core.Api/Controllers/Ghre/Ghre_QuestionController.cs b/Tiobon.Core.Api/Controllers/Ghre/Ghre_QuestionController.cs
index 12503298..251c0a47 100644
--- a/Tiobon.Core.Api/Controllers/Ghre/Ghre_QuestionController.cs
+++ b/Tiobon.Core.Api/Controllers/Ghre/Ghre_QuestionController.cs
@@ -1,7 +1,4 @@
-using Consul.Filtering;
-using SkyWalking.NetworkProtocol.V3;
-
-namespace Tiobon.Core.Api.Controllers;
+namespace Tiobon.Core.Api.Controllers;
///
/// 题目(Controller)
diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml
index bd9e45eb..9b2cbcf0 100644
--- a/Tiobon.Core.Api/Tiobon.Core.Model.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml
@@ -583,7 +583,7 @@
课程Ids
-
+
题目编号
@@ -593,16 +593,21 @@
难易程度
-
+
题目类型
-
+
题目内容
+
+
+ 题目解析
+
+
备注
@@ -977,6 +982,11 @@
题目 (Dto.EditInput)
+
+
+ 答案
+
+
题目答案 (Dto.EditInput)
@@ -1781,7 +1791,7 @@
课程Ids
-
+
题目编号
@@ -1791,16 +1801,21 @@
难易程度
-
+
题目类型
-
+
题目内容
+
+
+ 题目解析
+
+
备注
diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_Question.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_Question.Dto.Base.cs
index f0c8786e..74ce32a8 100644
--- a/Tiobon.Core.Model/Base/Ghre/Ghre_Question.Dto.Base.cs
+++ b/Tiobon.Core.Model/Base/Ghre/Ghre_Question.Dto.Base.cs
@@ -6,7 +6,7 @@
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
-*V0.01 2024/4/28 11:00:27 SimonHsiao 初版
+*V0.01 2024/4/28 15:54:29 SimonHsiao 初版
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*┌──────────────────────────────────┐
@@ -35,8 +35,8 @@ namespace Tiobon.Core.Model.Models
///
/// 题目编号
///
- [Display(Name = "CourseINo"), Description("题目编号"), MaxLength(32, ErrorMessage = "题目编号 不能超过 32 个字符"), EntityColumn(IsOnly = true)]
- public string CourseINo { get; set; }
+ [Display(Name = "QuestionINo"), Description("题目编号"), MaxLength(32, ErrorMessage = "题目编号 不能超过 32 个字符")]
+ public string QuestionINo { get; set; }
///
/// 难易程度
@@ -47,14 +47,20 @@ namespace Tiobon.Core.Model.Models
///
/// 题目类型
///
- [Display(Name = "CourseType"), Description("题目类型"), MaxLength(32, ErrorMessage = "题目类型 不能超过 32 个字符")]
- public string CourseType { get; set; }
+ [Display(Name = "QuestionType"), Description("题目类型"), MaxLength(32, ErrorMessage = "题目类型 不能超过 32 个字符")]
+ public string QuestionType { get; set; }
///
/// 题目内容
///
- [Display(Name = "CourseContent"), Description("题目内容"), MaxLength(2000, ErrorMessage = "题目内容 不能超过 2000 个字符")]
- public string CourseContent { get; set; }
+ [Display(Name = "QuestionContent"), Description("题目内容"), MaxLength(2000, ErrorMessage = "题目内容 不能超过 2000 个字符")]
+ public string QuestionContent { get; set; }
+
+ ///
+ /// 题目解析
+ ///
+ [Display(Name = "QuestionAnalysis"), Description("题目解析"), MaxLength(2000, ErrorMessage = "题目解析 不能超过 2000 个字符")]
+ public string QuestionAnalysis { get; set; }
///
/// 备注
diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_Question.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_Question.cs
index 02c3f520..51f62764 100644
--- a/Tiobon.Core.Model/Models/Ghre/Ghre_Question.cs
+++ b/Tiobon.Core.Model/Models/Ghre/Ghre_Question.cs
@@ -6,14 +6,14 @@
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
-*V0.01 2024/4/28 11:00:27 SimonHsiao 初版
+*V0.01 2024/4/28 15:54:29 SimonHsiao 初版
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
*│ 作者:SimonHsiao │
*└──────────────────────────────────┘
-*/
+*/
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
@@ -37,8 +37,8 @@ namespace Tiobon.Core.Model.Models
///
/// 题目编号
///
- [Display(Name = "CourseINo"), Description("题目编号"), MaxLength(32, ErrorMessage = "题目编号 不能超过 32 个字符"), EntityColumn(IsOnly = true)]
- public string CourseINo { get; set; }
+ [Display(Name = "QuestionINo"), Description("题目编号"), MaxLength(32, ErrorMessage = "题目编号 不能超过 32 个字符")]
+ public string QuestionINo { get; set; }
///
/// 难易程度
@@ -49,14 +49,20 @@ namespace Tiobon.Core.Model.Models
///
/// 题目类型
///
- [Display(Name = "CourseType"), Description("题目类型"), MaxLength(32, ErrorMessage = "题目类型 不能超过 32 个字符")]
- public string CourseType { get; set; }
+ [Display(Name = "QuestionType"), Description("题目类型"), MaxLength(32, ErrorMessage = "题目类型 不能超过 32 个字符")]
+ public string QuestionType { get; set; }
///
/// 题目内容
///
- [Display(Name = "CourseContent"), Description("题目内容"), MaxLength(2000, ErrorMessage = "题目内容 不能超过 2000 个字符")]
- public string CourseContent { get; set; }
+ [Display(Name = "QuestionContent"), Description("题目内容"), MaxLength(2000, ErrorMessage = "题目内容 不能超过 2000 个字符")]
+ public string QuestionContent { get; set; }
+
+ ///
+ /// 题目解析
+ ///
+ [Display(Name = "QuestionAnalysis"), Description("题目解析"), MaxLength(2000, ErrorMessage = "题目解析 不能超过 2000 个字符")]
+ public string QuestionAnalysis { get; set; }
///
/// 备注