using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.ViewModel
{
public class ReadingMedicineSystemQuestionView
{
public Guid Id { get; set; }
///
/// 类型
///
public string Type { get; set; }
///
/// 父问题触发
///
public string ParentTriggerValue { get; set; } = string.Empty;
///
/// 问题名称
///
public string QuestionName { get; set; }
///
/// 是否是必须
///
public bool IsRequired { get; set; }
///
/// 排序
///
public int ShowOrder { get; set; }
///
/// 父问题ID
///
public Guid? ParentId { get; set; }
///
/// 类型值
///
public string TypeValue { get; set; }
///
/// 是否启用
///
public bool IsEnable { get; set; }
}
///ReadingMedicineSystemQuestionQuery 列表查询参数模型
public class ReadingMedicineSystemQuestionQuery:PageInput
{
public string Type { get; set; }=string.Empty;
public string ParentTriggerValue { get; set; } = string.Empty;
public string QuestionName { get; set; } = string.Empty;
public string TypeValue { get; set; } = string.Empty;
}
public class GetReadingMedicineTrialOtherQuestionOutDto
{
public Guid Id { get; set; }
public string QuestionName { get; set; }
}
public class AddTrialDataFromSystemInDto
{
public Guid TrialId { get; set; }
public List SystemQuestionIds { get; set; }
}
///
/// 获取项目的其他问题
///
public class GetReadingMedicineTrialOtherQuestionInDto
{
public Guid TrialId { get; set; }
public Guid? Id { get; set; }
}
/// ReadingMedicineSystemQuestionAddOrEdit 列表查询参数模型
public class ReadingMedicineSystemQuestionAddOrEdit
{
public Guid? Id { get; set; }
///
/// 类型
///
public string Type { get; set; }
///
/// 父问题触发
///
public string ParentTriggerValue { get; set; }
///
/// 问题名称
///
public string QuestionName { get; set; }
///
/// 是否是必须
///
public bool IsRequired { get; set; }
///
/// 排序
///
public int ShowOrder { get; set; }
///
/// 父问题ID
///
public Guid? ParentId { get; set; }
///
/// 类型值
///
public string TypeValue { get; set; }
///
/// 是否启用
///
public bool IsEnable { get; set; }
}
public class ReadingMedicineTrialQuestionView
{
public Guid Id { get; set; }
public DateTime CreateTime { get; set; }
public string Type { get; set; }
public string ParentTriggerValue { get; set; }
public string QuestionName { get; set; }
public Guid UpdateUserId { get; set; }
public string TypeValue { get; set; }
public Guid CreateUserId { get; set; }
public Guid TrialId { get; set; }
public DateTime UpdateTime { get; set; }
public bool IsEnable { get; set; }
public bool IsRequired { get; set; }
public int ShowOrder { get; set; }
public Guid? ParentId { get; set; }
public bool? IsConfirm { get; set; }
}
///ReadingMedicineTrialQuestionQuery 列表查询参数模型
public class ReadingMedicineTrialQuestionQuery:PageInput
{
///
/// 项目Id
///
public Guid TrialId { get; set; }
public string Type { get; set; } = string.Empty;
public string ParentTriggerValue { get; set; } = string.Empty;
public string QuestionName { get; set; } = string.Empty;
public string TypeValue { get; set; } = string.Empty;
}
/// ReadingMedicineTrialQuestionAddOrEdit 列表查询参数模型
public class ReadingMedicineTrialQuestionAddOrEdit
{
public Guid Id { get; set; }
public string Type { get; set; }
public string ParentTriggerValue { get; set; }=string.Empty;
public string QuestionName { get; set; }
public string TypeValue { get; set; }
public Guid TrialId { get; set; }
public bool IsEnable { get; set; }
public bool IsRequired { get; set; }
public int ShowOrder { get; set; }
public Guid? ParentId { get; set; }
public bool? IsConfirm { get; set; }
}
}