You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.6 KiB
72 lines
2.6 KiB
using System.Dynamic;
|
|
using Tiobon.Core.Model.Models;
|
|
|
|
namespace Tiobon.Core.Model;
|
|
|
|
public class DefaultGhre_ExamPaperInput
|
|
{
|
|
public List<DefaultGhre_ExamPaperColumn> baseColumns { get; set; } = new List<DefaultGhre_ExamPaperColumn>();
|
|
public List<DefaultGhre_ExamPaperColumn> randomSetColumns { get; set; } = new List<DefaultGhre_ExamPaperColumn>();
|
|
public List<DefaultGhre_ExamPaperColumn> manualSetColumns { get; set; } = new List<DefaultGhre_ExamPaperColumn>();
|
|
public DefaultGhre_ExamPaperPageData pageData { get; set; } = new DefaultGhre_ExamPaperPageData();
|
|
}
|
|
public class DefaultGhre_ExamPaperColumn
|
|
{
|
|
public string label { get; set; }
|
|
public string field { get; set; }
|
|
public string elementType { get; set; }
|
|
public bool required { get; set; }
|
|
public bool multipleSelect { get; set; }
|
|
public bool editable { get; set; }
|
|
public string dataSource { get; set; }
|
|
public string placeholder { get; set; }
|
|
|
|
public int displayType { get; set; }
|
|
|
|
}
|
|
|
|
|
|
public class DefaultGhre_ExamPaperPageData
|
|
{
|
|
public DefaultGhre_ExamPaperBaseData baseData { get; set; } = new DefaultGhre_ExamPaperBaseData();
|
|
public DefaultGhre_ExamPaperStyleInfo styleInfo { get; set; } = new DefaultGhre_ExamPaperStyleInfo();
|
|
public string examPaperSetType { get; set; }
|
|
public List<Ghre_ExamPaperConfig> examPaperSetData { get; set; } = new List<Ghre_ExamPaperConfig> { };
|
|
public List<DefaultGhre_ExamPaperPreview> previewList { get; set; } = new List<DefaultGhre_ExamPaperPreview> { };
|
|
}
|
|
public class DefaultGhre_ExamPaperBaseData: Ghre_ExamPaperBase
|
|
{
|
|
public long? CourseId { get; set; }
|
|
public long? CourseSceneId { get; set; }
|
|
}
|
|
public class DefaultGhre_ExamPaperStyleInfo
|
|
{
|
|
public string coverImage { get; set; }
|
|
public string paperStyle { get; set; }
|
|
}
|
|
public class DefaultGhre_ExamPaperPreview
|
|
{
|
|
public long? parentId { get; set; }
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 试卷ID
|
|
/// </summary>
|
|
public long? ExamPaperId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 题目ID
|
|
/// </summary>
|
|
public long QuestionId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 试卷配置ID
|
|
/// </summary>
|
|
public long? ConfigId { get; set; }
|
|
public List<FromGhre_QuestionQuestionTypeDetail> detail { get; set; } = new List<FromGhre_QuestionQuestionTypeDetail> { };
|
|
}
|
|
public class InsertExamPaperConfigInput
|
|
{
|
|
public Ghre_ExamPaperConfig tableData { get; set; } = new Ghre_ExamPaperConfig();
|
|
public List<DefaultGhre_ExamPaperPreview> previewList { get; set; } = new List<DefaultGhre_ExamPaperPreview> { };
|
|
|
|
} |