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 baseColumns { get; set; } = new List(); public List randomSetColumns { get; set; } = new List(); public List manualSetColumns { get; set; } = new List(); 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 examPaperSetData { get; set; } = new List { }; public List previewList { get; set; } = new List { }; } 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; } /// /// 试卷ID /// public long? ExamPaperId { get; set; } /// /// 题目ID /// public long QuestionId { get; set; } /// /// 试卷配置ID /// public long? ConfigId { get; set; } public List detail { get; set; } = new List { }; }