irc-netcore-api/IRaCIS.Core.Application/Service/Reading/Dto/ReadingCalculateViewModel.cs

111 lines
2.5 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-08-22 09:36:37
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.ViewModel
{
public class CalculateTaskInDto
{
public Guid VisitTaskId { get; set; }
public bool IsChangeOtherTask { get; set; }
}
/// <summary>
/// 阅片计算Dto
/// </summary>
public class ReadingCalculateDto
{
public Guid SubjectId { get; set; }
public Guid VisitTaskId { get; set; }
public Guid CriterionId { get; set; }
public Guid TrialId { get; set; }
public Guid? DoctorUserId { get; set; }
public Guid SubjectVisitId { get; set; }
public bool IsChangeOtherTask { get; set; }
public List<QuestionInfo> QuestionInfo { get; set; } = new List<QuestionInfo>();
}
public class QuestionInfo
{
public Guid QuestionId { get; set; }
/// <summary>
/// 答案
/// </summary>
public string Answer { get; set; }
/// <summary>
/// 病灶类型
/// </summary>
public LesionType? LesionType { get; set; }
public QuestionType? QuestionType { get; set; }
public List<TableRowInfo> TableRowInfoList = new List<TableRowInfo>();
}
public class TableRowInfo
{
public int RowIndex { get; set; }
public List<TableQuestionInfo> TableQuestionList { get; set; } = new List<TableQuestionInfo>();
}
public class TableQuestionInfo
{
/// <summary>
/// 答案
/// </summary>
public string Answer { get; set; }
/// <summary>
/// 问题Id
/// </summary>
public Guid TableQuestionId { get; set; }
public Guid QuestionId { get; set; }
public int RowIndex { get; set; }
/// <summary>
/// 问题标识
/// </summary>
public QuestionMark? QuestionMark { get; set; }
}
public class VisitTaskAnswerInfo
{
public Guid VisitTaskId { get; set; }
public Guid QuestionId { get; set; }
public string VisitName { get; set; }
public decimal SOD { get; set; }
}
}