Test.EIImageViewer
parent
b8108e34ba
commit
47f68140e9
|
@ -51,6 +51,9 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public string TypeValue { get; set; } = String.Empty;
|
public string TypeValue { get; set; } = String.Empty;
|
||||||
public int ShowOrder { get; set; }
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
public string ParentQuestionName { get; set; } = String.Empty;
|
||||||
|
|
||||||
|
|
||||||
public int? ParentShowOrder { get; set; }
|
public int? ParentShowOrder { get; set; }
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
public DateTime CreateTime { get; set; }
|
public DateTime CreateTime { get; set; }
|
||||||
|
|
|
@ -66,7 +66,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
|
|
||||||
CreateMap<QCQuestion, QCQuestionConfigureView>()
|
CreateMap<QCQuestion, QCQuestionConfigureView>()
|
||||||
.ForMember(d => d.ParentShowOrder, u => u.MapFrom(s => s.ParentQuestion.ShowOrder)); ;
|
.ForMember(d => d.ParentShowOrder, u => u.MapFrom(s => s.ParentQuestion.ShowOrder))
|
||||||
|
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentQuestion.QuestionName));
|
||||||
|
|
||||||
CreateMap<QCQuestion, QCQuestionAddOrEdit>();
|
CreateMap<QCQuestion, QCQuestionAddOrEdit>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue