using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YBEE.EQM.Core; /// /// 双向细目表体 /// [Comment("双向细目表体")] public class ExamPaperDetail : DEntityBase { /// /// 双向细目表头ID /// [Comment("双向细目表头ID")] [Required] public int ExamPaperId { get; set; } /// /// 双向细目表头ID /// [Comment("双向细目表头ID")] [Required, StringLength(50)] public string LargeQuestionNumber { get; set; } /// /// 双向细目表头ID /// [Comment("双向细目表头ID")] [StringLength(50)] public string SubQuestionNumber { get; set; } /// /// 双向细目表头ID /// [Comment("双向细目表头ID")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal Score { get; set; } = 0; /// /// 知识模块 /// [Comment("知识模块")] [Required, StringLength(200)] public string KnowledgeModule { get; set; } /// /// 知识点 /// [Comment("知识点")] [Required, StringLength(200)] public string KnowledgePoint { get; set; } /// /// 认知能力 /// [Comment("认知能力")] [Required, StringLength(200)] public string CognitiveAbility { get; set; } /// /// 预估难度 /// [Comment("预估难度")] [Required, Column(TypeName = "decimal(10, 2)")] public decimal EstimatedDifficulty { get; set; } = 0; /// /// 是否选做 /// [Comment("是否选做")] [Required] public bool IsChoose { get; set; } = false; }