using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "考题")] public class PaperQuestion : BaseEntity { [Display(Name = "题目")] public string Title { get; set; } [Display(Name = "选项")] public string Options { get; set; } [Display(Name = "答案")] public string Answer { get; set; } [Display(Name = "分值")] public float Score { get; set; } [Display(Name = "试卷")] public Guid PaperId { get; set; } public Paper Paper { get; set; } public List UserPaperQuestions { get; set; } = new List(); } }