using System; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "测试")] public class UserPaper : BaseEntity { [Display(Name = "用户")] public Guid UserId { get; set; } [Display(Name = "试卷")] public Guid PaperId { get; set; } [Display(Name = "开始")] public DateTime Start { get; set; } [Display(Name = "结束")] public DateTime End { get; set; } [Display(Name = "分数")] public float Score { get; set; } public User User { get; set; } public Paper Paper { get; set; } } }