S-97 添加分组
This commit is contained in:
@@ -171,6 +171,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
/// </summary>
|
||||
public string QuestionEnName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 分组名称
|
||||
/// </summary>
|
||||
public string? GroupName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 分组英文名称
|
||||
/// </summary>
|
||||
public string? GroupEnName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 临床问题类型(分组,单选。)
|
||||
/// </summary>
|
||||
|
||||
@@ -18,10 +18,15 @@ namespace IRaCIS.Core.Application.Service
|
||||
var isEn_Us=false;
|
||||
|
||||
#region 临床问题
|
||||
CreateMap<TrialClinicalQuestion, TrialClinicalQuestionDto>();
|
||||
CreateMap<TrialClinicalQuestion, TrialClinicalQuestionDto>()
|
||||
.ForMember(d => d.GroupName, opt => opt.MapFrom(src => src.GroupQuestin.QuestionName))
|
||||
.ForMember(d => d.GroupEnName, opt => opt.MapFrom(src => src.GroupQuestin.QuestionEnName));
|
||||
|
||||
CreateMap<TrialClinicalQuestionDto, TrialClinicalQuestion>();
|
||||
|
||||
CreateMap<SystemClinicalQuestion, SystemClinicalQuestionDto>();
|
||||
CreateMap<SystemClinicalQuestion, SystemClinicalQuestionDto>()
|
||||
.ForMember(d => d.GroupName, opt => opt.MapFrom(src => src.GroupQuestin.QuestionName))
|
||||
.ForMember(d => d.GroupEnName, opt => opt.MapFrom(src => src.GroupQuestin.QuestionEnName));
|
||||
CreateMap<SystemClinicalQuestionDto, SystemClinicalQuestion>();
|
||||
|
||||
CreateMap<SystemClinicalTableQuestion, SystemClinicalTableQuestionDto>();
|
||||
|
||||
Reference in New Issue
Block a user