You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
635 B
25 lines
635 B
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; }
|
|
}
|
|
} |