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
655 B
25 lines
655 B
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; }
|
|
}
|
|
} |