Uat_Study
parent
438474406a
commit
6f1a92076e
|
@ -279,6 +279,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public string RelevanceValue { get; set; } = string.Empty;
|
||||
|
||||
public int? RelevanceShowOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片数量
|
||||
|
|
|
@ -75,7 +75,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<AddOrUpdateReadingQuestionTrialInDto, ReadingQuestionTrial>();
|
||||
CreateMap<ReadingQuestionTrial, ReadingQuestionTrialView>()
|
||||
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentReadingQuestionTrial == null ? string.Empty : s.ParentReadingQuestionTrial.QuestionName))
|
||||
.ForMember(d => d.ParentQuestionShowOrder, u => u.MapFrom(s => s.ParentReadingQuestionTrial.ShowOrder));
|
||||
.ForMember(d => d.ParentQuestionShowOrder, u => u.MapFrom(s => s.ParentReadingQuestionTrial.ShowOrder))
|
||||
.ForMember(d => d.RelevanceShowOrder, u => u.MapFrom(s => s.RelevanceReadingQuestionTrial.ShowOrder));
|
||||
#endregion
|
||||
|
||||
#region IR阅片
|
||||
|
|
|
@ -141,6 +141,9 @@ namespace IRaCIS.Core.Domain.Models
|
|||
[ForeignKey("ParentId")]
|
||||
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
|
||||
|
||||
[ForeignKey("RelevanceId")]
|
||||
public ReadingQuestionTrial RelevanceReadingQuestionTrial { get; set; }
|
||||
|
||||
[ForeignKey("ReadingQuestionCriterionTrialId")]
|
||||
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue