diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecord.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecord.Dto.Base.cs index 9ddc23a7..90de5956 100644 --- a/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecord.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecord.Dto.Base.cs @@ -48,6 +48,12 @@ namespace Tiobon.Core.Model.Models [Display(Name = "Score"), Description("得分"), Column(TypeName = "decimal(20,2)")] public decimal? Score { get; set; } + /// + /// 调整得分 + /// + [Display(Name = "AdjustScore"), Description("调整得分"), Column(TypeName = "decimal(20,2)")] + public decimal? AdjustScore { get; set; } + /// /// 开始答题时间 /// diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecordDetail.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecordDetail.Dto.Base.cs index 969bd652..3ebaf504 100644 --- a/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecordDetail.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecordDetail.Dto.Base.cs @@ -13,9 +13,10 @@ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ *│ 作者:SimonHsiao │ *└──────────────────────────────────┘ -*/ +*/ using System.ComponentModel; using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace Tiobon.Core.Model.Models { @@ -34,8 +35,7 @@ namespace Tiobon.Core.Model.Models /// /// 答题记录ID /// - [Display(Name = "ExamRecordId"), Description("答题记录ID"), MaxLength(10, ErrorMessage = "答题记录ID 不能超过 10 个字符")] - public string ExamRecordId { get; set; } + public long? ExamRecordId { get; set; } /// /// 题目ID @@ -58,6 +58,18 @@ namespace Tiobon.Core.Model.Models [Display(Name = "AnswerContent"), Description("答案内容"), MaxLength(32, ErrorMessage = "答案内容 不能超过 32 个字符")] public string AnswerContent { get; set; } + /// + /// 得分 + /// + [Display(Name = "Score"), Description("得分"), Column(TypeName = "decimal(20,2)")] + public decimal? Score { get; set; } + + /// + /// 调整得分 + /// + [Display(Name = "AdjustScore"), Description("调整得分"), Column(TypeName = "decimal(20,2)")] + public decimal? AdjustScore { get; set; } + /// /// 备注 /// diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecord.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecord.cs index 52f758a1..a365d10e 100644 --- a/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecord.cs +++ b/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecord.cs @@ -50,6 +50,12 @@ namespace Tiobon.Core.Model.Models [Display(Name = "Score"), Description("得分"), Column(TypeName = "decimal(20,2)")] public decimal? Score { get; set; } + /// + /// 调整得分 + /// + [Display(Name = "AdjustScore"), Description("调整得分"), Column(TypeName = "decimal(20,2)")] + public decimal? AdjustScore { get; set; } + /// /// 开始答题时间 /// diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecordDetail.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecordDetail.cs index 3ce46140..65e7e50c 100644 --- a/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecordDetail.cs +++ b/Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecordDetail.cs @@ -16,6 +16,7 @@ */ using System.ComponentModel; using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; using SqlSugar; namespace Tiobon.Core.Model.Models @@ -36,8 +37,7 @@ namespace Tiobon.Core.Model.Models /// /// 答题记录ID /// - [Display(Name = "ExamRecordId"), Description("答题记录ID"), MaxLength(10, ErrorMessage = "答题记录ID 不能超过 10 个字符")] - public string ExamRecordId { get; set; } + public long? ExamRecordId { get; set; } /// /// 题目ID @@ -60,6 +60,18 @@ namespace Tiobon.Core.Model.Models [Display(Name = "AnswerContent"), Description("答案内容"), MaxLength(32, ErrorMessage = "答案内容 不能超过 32 个字符")] public string AnswerContent { get; set; } + /// + /// 得分 + /// + [Display(Name = "Score"), Description("得分"), Column(TypeName = "decimal(20,2)")] + public decimal? Score { get; set; } + + /// + /// 调整得分 + /// + [Display(Name = "AdjustScore"), Description("调整得分"), Column(TypeName = "decimal(20,2)")] + public decimal? AdjustScore { get; set; } + /// /// 备注 ///