backend/ExamKing.Application/Mappers/Dtos/ExamquestionDto.cs
(完整代码) 1KBusing System.Collections.Generic;
using System.Text.Json.Serialization;
using ExamKing.Core.Entites;
namespace ExamKing.Application.Mappers
{
/// <summary>
/// 试卷题目 DTO
/// </summary>
public class ExamquestionDto
{
/// <summary>
/// ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 题目类型
/// </summary>
public string QuestionType { get; set; }
/// <summary>
/// 试卷ID
/// </summary>
public int ExamId { get; set; }
/// <summary>
/// 题库ID
/// </summary>
public int QuestionId { get; set; }
/// <summary>
/// 分数
/// </summary>
public int Score { get; set; }
/// <summary>
/// 答题详情
/// </summary>
public StuanswerdetailDto Stuanswerdetail { get; set; }
/// <summary>
/// 多选题
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public SelectDto Select { get; set; }
/// <summary>
/// 单选题
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public SelectDto Single { get; set; }
/// <summary>
/// 是非题
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public JudgeDto Judge { get; set; }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。