107 lines
3.2 KiB
C#
107 lines
3.2 KiB
C#
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2021-11-11 11:48:52
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
//--------------------------------------------------------------------
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IRaCIS.Core.Application.Contracts
|
|
{
|
|
/// <summary> TrialQCQuestionConfigureView 列表视图模型 </summary>
|
|
public class TrialQCQuestionConfigureView
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid TrialId { get; set; }
|
|
public string QuestionName { get; set; } = string.Empty;
|
|
public bool IsRequired { get; set; }
|
|
public bool IsEnable { get; set; }
|
|
public string Type { get; set; } = string.Empty;
|
|
public string TypeValue { get; set; } = string.Empty;
|
|
|
|
public Guid? ParentId { get; set; }
|
|
public string ParentTriggerValue { get; set; } = string.Empty;
|
|
public int? ParentShowOrder { get; set; }
|
|
|
|
public int ShowOrder { get; set; }
|
|
|
|
public Guid CreateUserId { get; set; }
|
|
public DateTime CreateTime { get; set; }
|
|
public DateTime UpdateTime { get; set; }
|
|
public Guid UpdateUserId { get; set; }
|
|
|
|
}
|
|
|
|
public class QCQuestionFilterSelect
|
|
{
|
|
public Guid? Id { get; set; }
|
|
|
|
public string[] TypeArray { get; set; } = new string[0];
|
|
}
|
|
|
|
public class TrialQCQuestionFilterSelect
|
|
{
|
|
[NotDefault]
|
|
public Guid TrialId { get; set; }
|
|
|
|
|
|
public Guid? Id { get; set; }
|
|
|
|
public string[] TypeArray { get; set; }=new string[0];
|
|
}
|
|
|
|
public class TrialQCQuestionSelect
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string QuestionName { get; set; } = string.Empty;
|
|
|
|
public Guid? ParentId { get; set; }
|
|
public int ShowOrder { get; set; }
|
|
|
|
public string TypeValue { get; set; }
|
|
}
|
|
|
|
///<summary>TrialQCQuestionQuery 列表查询参数模型</summary>
|
|
public class TrialQCQuestionQuery
|
|
{
|
|
|
|
public Guid TrialId { get; set; }
|
|
///<summary> QuestionName</summary>
|
|
public string QuestionName { get; set; } = string.Empty;
|
|
|
|
///<summary> TypeValue</summary>
|
|
public string Type { get; set; }=String.Empty;
|
|
|
|
public bool? IsEnable { get; set; }
|
|
|
|
public bool? IsRequired { get; set; }
|
|
|
|
|
|
}
|
|
|
|
///<summary> TrialQCQuestionAddOrEdit 列表查询参数模型</summary>
|
|
public class TrialQCQuestionAddOrEdit:TrialQCQuestionConfigureBatchAdd
|
|
{
|
|
public Guid TrialId { get; set; }
|
|
|
|
}
|
|
|
|
public class TrialQCQuestionConfigureBatchAdd
|
|
{
|
|
|
|
public Guid? Id { get; set; }
|
|
public string QuestionName { get; set; } = string.Empty;
|
|
public bool IsRequired { get; set; }
|
|
public bool IsEnable { get; set; }
|
|
public string Type { get; set; } = string.Empty;
|
|
public Guid? ParentId { get; set; }
|
|
public string TypeValue { get; set; } = string.Empty;
|
|
public string ParentTriggerValue { get; set; } = string.Empty;
|
|
public int ShowOrder { get; set; }
|
|
|
|
|
|
public Guid SystemQuestionId { get; set; }
|
|
}
|
|
}
|
|
|
|
|