using System; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "习题答题记录")] public class UserQuestion : BaseEntity { [Display(Name = "用户")] public Guid UserId { get; set; } [Display(Name = "习题")] public Guid QuestionId { get; set; } [Display(Name = "用户答案")] public string Answer { get; set; } [Display(Name = "正确")] public bool Success { get; set; } public User User { get; set; } public Question Question { get; set; } } }