预览新增ParentTriggerValueList

RelevanceValueList 字段
IRC_NewDev
he 2023-09-21 11:36:07 +08:00
parent 6ae2e60b33
commit ceda3f8427
1 changed files with 37 additions and 0 deletions

View File

@ -3,6 +3,7 @@ using MassTransit;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
@ -2354,6 +2355,42 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
//public List<TableQuestionDataInfo> TableQuestions { get; set; } //public List<TableQuestionDataInfo> TableQuestions { get; set; }
public List<GetSystemReadingQuestionOutDto> Childrens { get; set; } public List<GetSystemReadingQuestionOutDto> Childrens { get; set; }
[NotMapped]
public List<string> RelevanceValueList
{
get
{
try
{
return this.RelevanceValue.Split(',').ToList();
}
catch (Exception)
{
return new List<string>();
}
}
}
[NotMapped]
public List<string> ParentTriggerValueList
{
get
{
try
{
return this.ParentTriggerValue.Split(',').ToList();
}
catch (Exception)
{
return new List<string>();
}
}
}
} }
public class GetTrialReadingQuestionOutDto public class GetTrialReadingQuestionOutDto