From 28c7b173b28278feb87e9a551a5f35a5fa535761 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 28 Oct 2022 18:03:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reading/Dto/ReadingQuestionViewModel.cs | 21 +++++++++++++++++++ .../ReadingQuestionSystem.cs | 5 +++++ .../ReadingQuestionTrial.cs | 5 +++++ 3 files changed, 31 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs index 8d30e0a12..a13d33544 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs @@ -620,6 +620,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public GlobalReadingShowType GlobalReadingShowType { get; set; } = GlobalReadingShowType.AllShow; + /// + /// 默认值 + /// + public string DefaultValue { get; set; } = string.Empty; + /// /// 问题类型 /// @@ -789,6 +794,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public GlobalReadingShowType GlobalReadingShowType { get; set; } = GlobalReadingShowType.AllShow; + + /// + /// 默认值 + /// + public string DefaultValue { get; set; } = string.Empty; + /// /// 字典code /// @@ -1106,6 +1117,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public GlobalReadingShowType GlobalReadingShowType { get; set; } = GlobalReadingShowType.AllShow; + /// + /// 默认值 + /// + public string DefaultValue { get; set; } = string.Empty; + /// /// 分组 /// @@ -1245,6 +1261,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public GlobalReadingShowType GlobalReadingShowType { get; set; } = GlobalReadingShowType.AllShow; + /// + /// 默认值 + /// + public string DefaultValue { get; set; } =string.Empty; + /// /// 系统标准Id /// diff --git a/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionSystem.cs b/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionSystem.cs index a3c61b0df..1efd69072 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionSystem.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionSystem.cs @@ -145,6 +145,11 @@ namespace IRaCIS.Core.Domain.Models /// public GlobalReadingShowType GlobalReadingShowType { get; set; } = GlobalReadingShowType.AllShow; + /// + /// 默认值 + /// + public string DefaultValue { get; set; } = string.Empty; + /// /// 数值类型 /// diff --git a/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionTrial.cs b/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionTrial.cs index 4f94ca1ff..1df1c6fa2 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionTrial.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingCriterionQuestion/ReadingQuestionTrial.cs @@ -152,6 +152,11 @@ namespace IRaCIS.Core.Domain.Models /// public ShowQuestion ShowQuestion { get; set; } = ShowQuestion.Show; + /// + /// 默认值 + /// + public string DefaultValue { get; set; } =string.Empty; + /// /// 最大问题数 ///