From 615746b405053c0535e5c674c77ec924dc6836ac Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Tue, 14 May 2024 11:35:42 +0800 Subject: [PATCH] ` --- .../ViewModels/Extend/DefaultGhre_ExamPaperInput.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Tiobon.Core.Model/ViewModels/Extend/DefaultGhre_ExamPaperInput.cs b/Tiobon.Core.Model/ViewModels/Extend/DefaultGhre_ExamPaperInput.cs index fc40cb22..8c738e9b 100644 --- a/Tiobon.Core.Model/ViewModels/Extend/DefaultGhre_ExamPaperInput.cs +++ b/Tiobon.Core.Model/ViewModels/Extend/DefaultGhre_ExamPaperInput.cs @@ -1,4 +1,5 @@ -using Tiobon.Core.Model.Models; +using System.Net.NetworkInformation; +using Tiobon.Core.Model.Models; namespace Tiobon.Core.Model; @@ -31,6 +32,7 @@ public class DefaultGhre_ExamPaperColumn public string placeholder { get; set; } public int displayType { get; set; } + public int width { get; set; } = 150; } @@ -38,12 +40,12 @@ public class DefaultGhre_ExamPaperColumn public class DefaultGhre_ExamPaperPageData { public DefaultGhre_ExamPaperBaseData baseData { get; set; } = new DefaultGhre_ExamPaperBaseData(); - public DefaultGhre_ExamPaperStyleInfo styleInfo { get; set; } = new DefaultGhre_ExamPaperStyleInfo(); + public DefaultGhre_ExamPaperStyleInfo styleInfo { get; set; } = new DefaultGhre_ExamPaperStyleInfo(); public string examPaperSetType { get; set; } public List examPaperSetData { get; set; } = new List { }; public List previewList { get; set; } = new List { }; } -public class DefaultGhre_ExamPaperBaseData: Ghre_ExamPaperBase +public class DefaultGhre_ExamPaperBaseData : Ghre_ExamPaperBase { public long? CourseId { get; set; } public long? CourseSceneId { get; set; } @@ -82,8 +84,8 @@ public class DefaultGhre_ExamPaperPreview /// public long? ConfigId { get; set; } public FromGhre_QuestionQuestionTypeDetail detail { get; set; } = new FromGhre_QuestionQuestionTypeDetail(); -} -public class InsertExamPaperConfigInput +} +public class InsertExamPaperConfigInput { public Ghre_ExamPaperConfig tableData { get; set; } = new Ghre_ExamPaperConfig(); public List previewList { get; set; } = new List { };