using System.ComponentModel; using Hotline.Exams.Base; using Hotline.Share.Enums.Exams; using SqlSugar; namespace Exam.Questions { /// /// 试题 /// [Description("试题")] public class Question : BusinessEntity { /// /// 题干 /// [SugarColumn(ColumnDescription = "题干")] [Description("题干")] public string Title { get; set; } /// /// 试题类型 /// [SugarColumn(ColumnDescription = "试题类型")] [Description("试题类型")] public EQuestionType QuestionType { get; set; } /// /// 难易程度 /// [SugarColumn(ColumnDescription = "难易程度")] [Description("难易程度")] public EDifficultyLevel DifficultyLevel { get; set; } /// /// 正式可用 /// [SugarColumn(ColumnDescription = "正式可用")] [Description("正式可用")] public bool FormalEnable { get; set; } /// /// 模拟可用 /// [SugarColumn(ColumnDescription = "模拟可用")] [Description("模拟可用")] public bool SimulateEnable { get; set; } /// /// 备注 /// [SugarColumn(ColumnDescription = "备注")] [Description("备注")] public string? Remark { get; set; } /// /// 权重 /// [SugarColumn(ColumnDescription ="权重")] [Description("权重")] public int Weight { get; set; } } }