142 lines
4.1 KiB
C#
142 lines
4.1 KiB
C#
//--------------------------------------------------------------------
|
||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||
// 生成时间 2021-11-11 11:48:52
|
||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||
//--------------------------------------------------------------------
|
||
using IRaCIS.Core.Domain.Share;
|
||
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;
|
||
|
||
/// <summary>
|
||
/// 语言类型
|
||
/// </summary>
|
||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
||
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 bool IsQuestionQCAuditPassed { 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;
|
||
|
||
/// <summary>
|
||
/// 语言类型
|
||
/// </summary>
|
||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
||
|
||
public Guid? ParentId { get; set; }
|
||
public int ShowOrder { get; set; }
|
||
|
||
public string TypeValue { get; set; }
|
||
}
|
||
|
||
public class EmptyQCQuestionInDto
|
||
{
|
||
public Guid TrialId { get; set; }
|
||
}
|
||
|
||
///<summary>TrialQCQuestionQuery 列表查询参数模型</summary>
|
||
public class TrialQCQuestionQuery
|
||
{
|
||
|
||
public Guid TrialId { get; set; }
|
||
///<summary> QuestionName</summary>
|
||
public string QuestionName { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 语言类型
|
||
/// </summary>
|
||
public LanguageType? LanguageType { get; set; }
|
||
|
||
///<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 BatchDeteteTrialQCQuestionInDto
|
||
{
|
||
public Guid TrialId { get; set; }
|
||
|
||
public List<Guid> Ids { get; set; }
|
||
}
|
||
public class TrialQCQuestionConfigureBatchAdd
|
||
{
|
||
|
||
public Guid? Id { get; set; }
|
||
public string QuestionName { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 语言类型
|
||
/// </summary>
|
||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
||
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; }
|
||
}
|
||
}
|
||
|
||
|