using System; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "测试答题记录")] public class UserPaperQuestion : BaseEntity { [Display(Name = "用户")] public Guid UserId { get; set; } [Display(Name = "试题")] public Guid PaperQuestionId { get; set; } [Display(Name = "用户答案")] public string Answer { get; set; } [Display(Name = "结果")] public bool Success { get; set; } public User User { get; set; } public PaperQuestion PaperQuestion { get; set; } } }