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.
28 lines
683 B
28 lines
683 B
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; }
|
|
}
|
|
} |