From 52c18a48db45fcf836d9045a4a2579ec11c3b065 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Fri, 12 Aug 2022 09:59:33 +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 +++++++++++++++++++
.../Reading/ReadingQuestionSystem.cs | 5 +++++
.../Reading/ReadingQuestionTrial.cs | 6 ++++++
3 files changed, 32 insertions(+)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs
index ff52664e5..1bec82852 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs
@@ -373,6 +373,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否显示
///
public ShowQuestion ShowQuestion { get; set; }
+
+ ///
+ /// 最大问题数
+ ///
+ public int MaxQuestionCount { get; set; }
}
public class ReadingQuestionSystemView
@@ -466,6 +471,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否显示
///
public ShowQuestion ShowQuestion { get; set; }
+
+
+ ///
+ /// 最大问题数
+ ///
+ public int MaxQuestionCount { get; set; }
}
@@ -738,6 +749,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 图片数量
///
public int ImageCount { get; set; } = 1;
+
+ ///
+ /// 最大问题数
+ ///
+ public int MaxQuestionCount { get; set; } = 0;
}
@@ -842,6 +858,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否显示
///
public ShowQuestion ShowQuestion { get; set; }
+
+ ///
+ /// 最大问题数
+ ///
+ public int MaxQuestionCount { get; set; } = 0;
}
diff --git a/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs b/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs
index 2d7d704f6..415f910c4 100644
--- a/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs
+++ b/IRaCIS.Core.Domain/Reading/ReadingQuestionSystem.cs
@@ -99,6 +99,11 @@ namespace IRaCIS.Core.Domain.Models
///
public ShowQuestion ShowQuestion { get; set; } = ShowQuestion.Show;
+ ///
+ /// 最大问题数
+ ///
+ public int MaxQuestionCount { get; set; }
+
///
/// 创建人
///
diff --git a/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs b/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs
index af4cdbdc1..fd6ccf4fd 100644
--- a/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs
+++ b/IRaCIS.Core.Domain/Reading/ReadingQuestionTrial.cs
@@ -137,6 +137,11 @@ namespace IRaCIS.Core.Domain.Models
///
public ShowQuestion ShowQuestion { get; set; } = ShowQuestion.Show;
+ ///
+ /// 最大问题数
+ ///
+ public int MaxQuestionCount { get; set; }
+
///
/// 分页标准
///
@@ -152,6 +157,7 @@ namespace IRaCIS.Core.Domain.Models
[ForeignKey("ReadingQuestionCriterionTrialId")]
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
+
}