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.
 
 
 
Tiobon.Web.Core/Tiobon.Core.Model/ViewModels/Extend/DefaultGhre_ExamPaperInput.cs

65 lines
2.3 KiB

using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Dynamic;
using Tiobon.Core.Model.Models;
using static System.Runtime.InteropServices.JavaScript.JSType;
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 dynamic baseData { get; set; } = new ExpandoObject();
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_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> { };
}