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.
iot/projects/StudyCenter/Application/Domain/Entities/PaperQuestion.cs

29 lines
789 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
[Display(Name = "考题")]
public class PaperQuestion : BaseEntity
{
[Display(Name = "题目")]
public string Title { get; set; }
[Display(Name = "选项")]
public string Options { get; set; }
[Display(Name = "答案")]
public string Answer { get; set; }
[Display(Name = "分值")]
public float Score { get; set; }
[Display(Name = "试卷")]
public Guid PaperId { get; set; }
public Paper Paper { get; set; }
public List<UserPaperQuestion> UserPaperQuestions { get; set; } = new List<UserPaperQuestion>();
}
}